Nerdulator> put something in

Recognised as Colour

#2C40CB

  • #2C40CB
  • Blue
  • Dark
  • Nearest: Medium slateblue

#2C40CB is a blue with RGB values 44, 64, 203 and HSL 232°, 64%, 48%. It is a dark colour, so white text on it reaches 7.8:1 contrast (AAA for normal text). The nearest named colour is Medium slateblue.

Colour values

#2C40CB#2C40CB
HEX#2C40CB
RGBrgb(44, 64, 203)
RGB (0–1)0.1725, 0.251, 0.7961
RGB percentages17.3%, 25.1%, 79.6%
HSLhsl(232.5, 64.4%, 48.4%)
HSV / HSBhsv(232.5, 78.3%, 79.6%)
CMYK78.3%, 68.5%, 0%, 20.4%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer2,900,171
CSS custom property--colour: #2C40CB;

Brightness & contrast

Relative luminance0.08514WCAG 2.x, 0 is black and 1 is white
Perceived brightness87.6 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 7.77:1
Contrast with white7.77:1WCAG normal text: AAA
Contrast with black2.7:1WCAG normal text: Fail
Greyscale equivalent#464646
Inverted#D3BF34

Colour vision & accessibility

Protanopia#005ACFno red cones; affects about 1% of men; ΔE 19.9 from the original
Deuteranopia#004BC8no green cones; the most common form, about 1% of men; ΔE 11.2 from the original
Tritanopia#006680no blue cones; rare, and affects men and women equally; ΔE 77.4 from the original
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text7.77:1WCAG large text: AAA
Contrast with black, large text2.7:1WCAG large text: Fail

Named colours

Nearest named CSS colourMedium slateblue (#7B68EE)ΔE 19.01, a distinctly different colour
Hue familyblue
CSS keyword usableNo exact keyword

Colour harmonies

Complementary#CBB72C
Analogous#2C8FCB, #682CCB
Triadic#CB2C40, #40CB2C
Split complementary#CB682C, #8FCB2C
Tetradic#CB2C8F, #CBB72C, #2CCB68

Tints, shades & saturation

Lighter +40%#CFD3F4
Lighter +30%#A5AEEB
Lighter +20%#7B88E2
Lighter +10%#5162D9
Darker −10%#2333A1
Darker −20%#1A2677
Darker −30%#11184D
Darker −40%#080B23
More saturated +25%#0D29EA
Less saturated −25%#4B57AC

Channel breakdown

R44
G64
B203
Red44 (17.3%)
Green64 (25.1%)
Blue203 (79.6%)
Hue232.45°
Saturation (HSL)64.37%
Lightness48.43%
Dominant channelBlue
Hex per channelR 2C · G 40 · B CB

Keep nerding

Every link below is a page Nerdulator can generate from what it already knows about this value.

Nerdulate something else

Nothing in mind? Surprise me · today’s page

Every value on this page was computed from “2c40cb” by Nerdulator’s colour engine. Nothing here was retrieved from a database of answers or written by a model.