Recognised as Colour
#040E3E
- #040E3E
- Blue
- Dark
- Nearest: Midnight blue
#040E3E is a blue with RGB values 4, 14, 62 and HSL 230°, 88%, 13%. It is a dark colour, so white text on it reaches 18.5:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.
Colour values
#040E3E#040E3E
HEX#040E3E
RGBrgb(4, 14, 62)
RGB (0–1)0.0157, 0.0549, 0.2431
RGB percentages1.6%, 5.5%, 24.3%
HSLhsl(229.7, 87.9%, 12.9%)
HSV / HSBhsv(229.7, 93.5%, 24.3%)
CMYK93.5%, 77.4%, 0%, 75.7%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer265,790
CSS custom property--colour: #040E3E;
Brightness & contrast
Relative luminance0.00688WCAG 2.x, 0 is black and 1 is white
Perceived brightness23.6 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 18.46:1
Contrast with white18.46:1WCAG normal text: AAA
Contrast with black1.14:1WCAG normal text: Fail
Greyscale equivalent#0F0F0F
Inverted#FBF1C1
Colour vision & accessibility
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text18.46:1WCAG large text: AAA
Contrast with black, large text1.14:1WCAG large text: Fail
Named colours
Hue familyblue
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#3E3404
Analogous#042B3E, #17043E
Triadic#3E040E, #0E3E04
Split complementary#3E1704, #2B3E04
Tetradic#3E042B, #3E3404, #043E17
Tints, shades & saturation
Channel breakdown
R4
G14
B62
Red4 (1.6%)
Green14 (5.5%)
Blue62 (24.3%)
Hue229.66°
Saturation (HSL)87.88%
Lightness12.94%
Dominant channelBlue
Hex per channelR 04 · G 0E · B 3E
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