Recognised as Colour
#04008E
- #04008E
- Blue
- Dark
- Nearest: Dark blue
#04008E is a blue with RGB values 4, 0, 142 and HSL 242°, 100%, 28%. It is a dark colour, so white text on it reaches 15:1 contrast (AAA for normal text). The nearest named colour is Dark blue.
Colour values
#04008E#04008E
HEX#04008E
RGBrgb(4, 0, 142)
RGB (0–1)0.0157, 0, 0.5569
RGB percentages1.6%, 0%, 55.7%
HSLhsl(241.7, 100%, 27.8%)
HSV / HSBhsv(241.7, 100%, 55.7%)
CMYK97.2%, 100%, 0%, 44.3%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer262,286
CSS custom property--colour: #04008E;
Brightness & contrast
Relative luminance0.01979WCAG 2.x, 0 is black and 1 is white
Perceived brightness48 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 15.05:1
Contrast with white15.05:1WCAG normal text: AAA
Contrast with black1.4:1WCAG normal text: Fail
Greyscale equivalent#0B0B0B
Inverted#FBFF71
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text15.05:1WCAG large text: AAA
Contrast with black, large text1.4:1WCAG large text: Fail
Named colours
Hue familyblue
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#8A8E00
Analogous#00438E, #4B008E
Triadic#8E0400, #008E04
Split complementary#8E4B00, #438E00
Tetradic#8E0043, #8A8E00, #008E4B
Tints, shades & saturation
Channel breakdown
R4
G0
B142
Red4 (1.6%)
Green0 (0%)
Blue142 (55.7%)
Hue241.69°
Saturation (HSL)100%
Lightness27.84%
Dominant channelBlue
Hex per channelR 04 · G 00 · B 8E
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