Recognised as Colour
#040C24
- #040C24
- Blue
- Dark
- Nearest: Black
#040C24 is a blue with RGB values 4, 12, 36 and HSL 225°, 80%, 8%. It is a dark colour, so white text on it reaches 19.4:1 contrast (AAA for normal text). The nearest named colour is Black.
Colour values
#040C24#040C24
HEX#040C24
RGBrgb(4, 12, 36)
RGB (0–1)0.0157, 0.0471, 0.1412
RGB percentages1.6%, 4.7%, 14.1%
HSLhsl(225, 80%, 7.8%)
HSV / HSBhsv(225, 88.9%, 14.1%)
CMYK88.9%, 66.7%, 0%, 85.9%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer265,252
CSS custom property--colour: #040C24;
Brightness & contrast
Relative luminance0.00416WCAG 2.x, 0 is black and 1 is white
Perceived brightness15.4 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 19.39:1
Contrast with white19.39:1WCAG normal text: AAA
Contrast with black1.08:1WCAG normal text: Fail
Greyscale equivalent#0C0C0C
Inverted#FBF3DB
Colour vision & accessibility
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text19.39:1WCAG large text: AAA
Contrast with black, large text1.08:1WCAG large text: Fail
Named colours
Hue familyblue
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#241C04
Analogous#041C24, #0C0424
Triadic#24040C, #0C2404
Split complementary#240C04, #1C2404
Tetradic#24041C, #241C04, #04240C
Tints, shades & saturation
Channel breakdown
R4
G12
B36
Red4 (1.6%)
Green12 (4.7%)
Blue36 (14.1%)
Hue225°
Saturation (HSL)80%
Lightness7.84%
Dominant channelBlue
Hex per channelR 04 · G 0C · B 24
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