Recognised as Colour
#02045E
- #02045E
- Blue
- Dark
- Nearest: Midnight blue
#02045E is a blue with RGB values 2, 4, 94 and HSL 239°, 96%, 19%. It is a dark colour, so white text on it reaches 17.8:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.
Colour values
#02045E#02045E
HEX#02045E
RGBrgb(2, 4, 94)
RGB (0–1)0.0078, 0.0157, 0.3686
RGB percentages0.8%, 1.6%, 36.9%
HSLhsl(238.7, 95.8%, 18.8%)
HSV / HSBhsv(238.7, 97.9%, 36.9%)
CMYK97.9%, 95.7%, 0%, 63.1%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer132,190
CSS custom property--colour: #02045E;
Brightness & contrast
Relative luminance0.00908WCAG 2.x, 0 is black and 1 is white
Perceived brightness31.9 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 17.77:1
Contrast with white17.77:1WCAG normal text: AAA
Contrast with black1.18:1WCAG normal text: Fail
Greyscale equivalent#0A0A0A
Inverted#FDFBA1
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text17.77:1WCAG large text: AAA
Contrast with black, large text1.18:1WCAG large text: Fail
Named colours
Hue familyblue
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#5E5C02
Analogous#02325E, #2E025E
Triadic#5E0204, #045E02
Split complementary#5E2E02, #325E02
Tetradic#5E0232, #5E5C02, #025E2E
Tints, shades & saturation
Channel breakdown
R2
G4
B94
Red2 (0.8%)
Green4 (1.6%)
Blue94 (36.9%)
Hue238.7°
Saturation (HSL)95.83%
Lightness18.82%
Dominant channelBlue
Hex per channelR 02 · G 04 · B 5E
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