Recognised as Colour
#04173A
- #04173A
- Blue
- Dark
- Nearest: Black
#04173A is a blue with RGB values 4, 23, 58 and HSL 219°, 87%, 12%. It is a dark colour, so white text on it reaches 17.7:1 contrast (AAA for normal text). The nearest named colour is Black.
Colour values
#04173A#04173A
HEX#04173A
RGBrgb(4, 23, 58)
RGB (0–1)0.0157, 0.0902, 0.2275
RGB percentages1.6%, 9%, 22.7%
HSLhsl(218.9, 87.1%, 12.2%)
HSV / HSBhsv(218.9, 93.1%, 22.7%)
CMYK93.1%, 60.3%, 0%, 77.3%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer268,090
CSS custom property--colour: #04173A;
Brightness & contrast
Relative luminance0.00944WCAG 2.x, 0 is black and 1 is white
Perceived brightness26.4 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 17.66:1
Contrast with white17.66:1WCAG normal text: AAA
Contrast with black1.19:1WCAG normal text: Fail
Greyscale equivalent#151515
Inverted#FBE8C5
Colour vision & accessibility
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text17.66:1WCAG large text: AAA
Contrast with black, large text1.19:1WCAG large text: Fail
Named colours
Hue familyblue
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#3A2704
Analogous#04323A, #0C043A
Triadic#3A0417, #173A04
Split complementary#3A0C04, #323A04
Tetradic#3A0432, #3A2704, #043A0C
Tints, shades & saturation
Channel breakdown
R4
G23
B58
Red4 (1.6%)
Green23 (9%)
Blue58 (22.7%)
Hue218.89°
Saturation (HSL)87.1%
Lightness12.16%
Dominant channelBlue
Hex per channelR 04 · G 17 · B 3A
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