Recognised as Colour
#040CCB
- #040CCB
- Blue
- Dark
- Nearest: Medium blue
#040CCB is a blue with RGB values 4, 12, 203 and HSL 238°, 96%, 41%. It is a dark colour, so white text on it reaches 10.9:1 contrast (AAA for normal text). The nearest named colour is Medium blue.
Colour values
#040CCB#040CCB
HEX#040CCB
RGBrgb(4, 12, 203)
RGB (0–1)0.0157, 0.0471, 0.7961
RGB percentages1.6%, 4.7%, 79.6%
HSLhsl(237.6, 96.1%, 40.6%)
HSV / HSBhsv(237.6, 98%, 79.6%)
CMYK98%, 94.1%, 0%, 20.4%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer265,419
CSS custom property--colour: #040CCB;
Brightness & contrast
Relative luminance0.04601WCAG 2.x, 0 is black and 1 is white
Perceived brightness69.2 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 10.94:1
Contrast with white10.94:1WCAG normal text: AAA
Contrast with black1.92:1WCAG normal text: Fail
Greyscale equivalent#181818
Inverted#FBF334
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text10.94:1WCAG large text: AAA
Contrast with black, large text1.92:1WCAG large text: Fail
Named colours
Hue familyblue
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#CBC304
Analogous#0470CB, #5F04CB
Triadic#CB040C, #0CCB04
Split complementary#CB5F04, #70CB04
Tetradic#CB0470, #CBC304, #04CB5F
Tints, shades & saturation
Channel breakdown
R4
G12
B203
Red4 (1.6%)
Green12 (4.7%)
Blue203 (79.6%)
Hue237.59°
Saturation (HSL)96.14%
Lightness40.59%
Dominant channelBlue
Hex per channelR 04 · G 0C · 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