Recognised as Colour
#04087F
- #04087F
- Blue
- Dark
- Nearest: Navy
#04087F is a blue with RGB values 4, 8, 127 and HSL 238°, 94%, 26%. It is a dark colour, so white text on it reaches 15.6:1 contrast (AAA for normal text). The nearest named colour is Navy.
Colour values
#04087F#04087F
HEX#04087F
RGBrgb(4, 8, 127)
RGB (0–1)0.0157, 0.0314, 0.498
RGB percentages1.6%, 3.1%, 49.8%
HSLhsl(238, 93.9%, 25.7%)
HSV / HSBhsv(238, 96.9%, 49.8%)
CMYK96.9%, 93.7%, 0%, 50.2%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer264,319
CSS custom property--colour: #04087F;
Brightness & contrast
Relative luminance0.01732WCAG 2.x, 0 is black and 1 is white
Perceived brightness43.4 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 15.6:1
Contrast with white15.6:1WCAG normal text: AAA
Contrast with black1.35:1WCAG normal text: Fail
Greyscale equivalent#101010
Inverted#FBF780
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text15.6:1WCAG large text: AAA
Contrast with black, large text1.35:1WCAG large text: Fail
Named colours
Hue familyblue
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#7F7B04
Analogous#04467F, #3D047F
Triadic#7F0408, #087F04
Split complementary#7F3D04, #467F04
Tetradic#7F0446, #7F7B04, #047F3D
Tints, shades & saturation
Channel breakdown
R4
G8
B127
Red4 (1.6%)
Green8 (3.1%)
Blue127 (49.8%)
Hue238.05°
Saturation (HSL)93.89%
Lightness25.69%
Dominant channelBlue
Hex per channelR 04 · G 08 · B 7F
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