Recognised as Colour
#04178B
- #04178B
- Blue
- Dark
- Nearest: Navy
#04178B is a blue with RGB values 4, 23, 139 and HSL 232°, 94%, 28%. It is a dark colour, so white text on it reaches 14:1 contrast (AAA for normal text). The nearest named colour is Navy.
Colour values
#04178B#04178B
HEX#04178B
RGBrgb(4, 23, 139)
RGB (0–1)0.0157, 0.0902, 0.5451
RGB percentages1.6%, 9%, 54.5%
HSLhsl(231.6, 94.4%, 28%)
HSV / HSBhsv(231.6, 97.1%, 54.5%)
CMYK97.1%, 83.5%, 0%, 45.5%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer268,171
CSS custom property--colour: #04178B;
Brightness & contrast
Relative luminance0.02503WCAG 2.x, 0 is black and 1 is white
Perceived brightness50.2 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 13.99:1
Contrast with white13.99:1WCAG normal text: AAA
Contrast with black1.5:1WCAG normal text: Fail
Greyscale equivalent#1B1B1B
Inverted#FBE874
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text13.99:1WCAG large text: AAA
Contrast with black, large text1.5:1WCAG large text: Fail
Named colours
Hue familyblue
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#8B7804
Analogous#045B8B, #34048B
Triadic#8B0417, #178B04
Split complementary#8B3404, #5B8B04
Tetradic#8B045B, #8B7804, #048B34
Tints, shades & saturation
Channel breakdown
R4
G23
B139
Red4 (1.6%)
Green23 (9%)
Blue139 (54.5%)
Hue231.56°
Saturation (HSL)94.41%
Lightness28.04%
Dominant channelBlue
Hex per channelR 04 · G 17 · B 8B
Keep nerding
Every link below is a page Nerdulator can generate from what it already knows about this value.
Nerdulate something else
Nothing in mind? Surprise me · today’s page