Recognised as Colour
#04398B
- #04398B
- Blue
- Dark
- Nearest: Dark slateblue
#04398B is a blue with RGB values 4, 57, 139 and HSL 216°, 94%, 28%. It is a dark colour, so white text on it reaches 10.7:1 contrast (AAA for normal text). The nearest named colour is Dark slateblue.
Colour values
#04398B#04398B
HEX#04398B
RGBrgb(4, 57, 139)
RGB (0–1)0.0157, 0.2235, 0.5451
RGB percentages1.6%, 22.4%, 54.5%
HSLhsl(216.4, 94.4%, 28%)
HSV / HSBhsv(216.4, 97.1%, 54.5%)
CMYK97.1%, 59%, 0%, 45.5%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer276,875
CSS custom property--colour: #04398B;
Brightness & contrast
Relative luminance0.04816WCAG 2.x, 0 is black and 1 is white
Perceived brightness64.1 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 10.7:1
Contrast with white10.7:1WCAG normal text: AAA
Contrast with black1.96:1WCAG normal text: Fail
Greyscale equivalent#343434
Inverted#FBC674
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text10.7:1WCAG large text: AAA
Contrast with black, large text1.96:1WCAG large text: Fail
Named colours
Hue familyblue
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#8B5604
Analogous#047C8B, #13048B
Triadic#8B0439, #398B04
Split complementary#8B1304, #7C8B04
Tetradic#8B047C, #8B5604, #048B13
Tints, shades & saturation
Channel breakdown
R4
G57
B139
Red4 (1.6%)
Green57 (22.4%)
Blue139 (54.5%)
Hue216.44°
Saturation (HSL)94.41%
Lightness28.04%
Dominant channelBlue
Hex per channelR 04 · G 39 · B 8B
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