Recognised as Colour
#040E4B
- #040E4B
- Blue
- Dark
- Nearest: Midnight blue
#040E4B is a blue with RGB values 4, 14, 75 and HSL 232°, 90%, 15%. It is a dark colour, so white text on it reaches 18:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.
Colour values
#040E4B#040E4B
HEX#040E4B
RGBrgb(4, 14, 75)
RGB (0–1)0.0157, 0.0549, 0.2941
RGB percentages1.6%, 5.5%, 29.4%
HSLhsl(231.5, 89.9%, 15.5%)
HSV / HSBhsv(231.5, 94.7%, 29.4%)
CMYK94.7%, 81.3%, 0%, 70.6%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer265,803
CSS custom property--colour: #040E4B;
Brightness & contrast
Relative luminance0.00848WCAG 2.x, 0 is black and 1 is white
Perceived brightness27.6 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 17.96:1
Contrast with white17.96:1WCAG normal text: AAA
Contrast with black1.17:1WCAG normal text: Fail
Greyscale equivalent#101010
Inverted#FBF1B4
Colour vision & accessibility
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text17.96:1WCAG large text: AAA
Contrast with black, large text1.17:1WCAG large text: Fail
Named colours
Hue familyblue
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#4B4104
Analogous#04314B, #1E044B
Triadic#4B040E, #0E4B04
Split complementary#4B1E04, #314B04
Tetradic#4B0431, #4B4104, #044B1E
Tints, shades & saturation
Channel breakdown
R4
G14
B75
Red4 (1.6%)
Green14 (5.5%)
Blue75 (29.4%)
Hue231.55°
Saturation (HSL)89.87%
Lightness15.49%
Dominant channelBlue
Hex per channelR 04 · G 0E · B 4B
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