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
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
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
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.
Harmonies
Similar named colours
Nerdulate something else
Nothing in mind? Surprise me · today’s page