Recognised as Colour
#040CCD
- #040CCD
- Blue
- Dark
- Nearest: Medium blue
#040CCD is a blue with RGB values 4, 12, 205 and HSL 238°, 96%, 41%. It is a dark colour, so white text on it reaches 10.8:1 contrast (AAA for normal text). The nearest named colour is Medium blue.
Colour values
#040CCD#040CCD
HEX#040CCD
RGBrgb(4, 12, 205)
RGB (0–1)0.0157, 0.0471, 0.8039
RGB percentages1.6%, 4.7%, 80.4%
HSLhsl(237.6, 96.2%, 41%)
HSV / HSBhsv(237.6, 98%, 80.4%)
CMYK98%, 94.1%, 0%, 19.6%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer265,421
CSS custom property--colour: #040CCD;
Brightness & contrast
Relative luminance0.04697WCAG 2.x, 0 is black and 1 is white
Perceived brightness69.9 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 10.83:1
Contrast with white10.83:1WCAG normal text: AAA
Contrast with black1.94:1WCAG normal text: Fail
Greyscale equivalent#181818
Inverted#FBF332
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text10.83:1WCAG large text: AAA
Contrast with black, large text1.94:1WCAG large text: Fail
Named colours
Hue familyblue
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#CDC504
Analogous#0470CD, #6104CD
Triadic#CD040C, #0CCD04
Split complementary#CD6104, #70CD04
Tetradic#CD0470, #CDC504, #04CD61
Tints, shades & saturation
Channel breakdown
R4
G12
B205
Red4 (1.6%)
Green12 (4.7%)
Blue205 (80.4%)
Hue237.61°
Saturation (HSL)96.17%
Lightness40.98%
Dominant channelBlue
Hex per channelR 04 · G 0C · B CD
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