Recognised as Colour
#04028E
- #04028E
- Blue
- Dark
- Nearest: Dark blue
#04028E is a blue with RGB values 4, 2, 142 and HSL 241°, 97%, 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
#04028E#04028E
HEX#04028E
RGBrgb(4, 2, 142)
RGB (0–1)0.0157, 0.0078, 0.5569
RGB percentages1.6%, 0.8%, 55.7%
HSLhsl(240.9, 97.2%, 28.2%)
HSV / HSBhsv(240.9, 98.6%, 55.7%)
CMYK97.2%, 98.6%, 0%, 44.3%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer262,798
CSS custom property--colour: #04028E;
Brightness & contrast
Relative luminance0.02022WCAG 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 14.95:1
Contrast with white14.95:1WCAG normal text: AAA
Contrast with black1.4:1WCAG normal text: Fail
Greyscale equivalent#0D0D0D
Inverted#FBFD71
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text14.95: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#8C8E02
Analogous#02468E, #4A028E
Triadic#8E0402, #028E04
Split complementary#8E4A02, #468E02
Tetradic#8E0246, #8C8E02, #028E4A
Tints, shades & saturation
Channel breakdown
R4
G2
B142
Red4 (1.6%)
Green2 (0.8%)
Blue142 (55.7%)
Hue240.86°
Saturation (HSL)97.22%
Lightness28.24%
Dominant channelBlue
Hex per channelR 04 · G 02 · 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