Recognised as Colour
#02218E
- #02218E
- Blue
- Dark
- Nearest: Midnight blue
#02218E is a blue with RGB values 2, 33, 142 and HSL 227°, 97%, 28%. It is a dark colour, so white text on it reaches 13:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.
Colour values
#02218E#02218E
HEX#02218E
RGBrgb(2, 33, 142)
RGB (0–1)0.0078, 0.1294, 0.5569
RGB percentages0.8%, 12.9%, 55.7%
HSLhsl(226.7, 97.2%, 28.2%)
HSV / HSBhsv(226.7, 98.6%, 55.7%)
CMYK98.6%, 76.8%, 0%, 44.3%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer139,662
CSS custom property--colour: #02218E;
Brightness & contrast
Relative luminance0.03054WCAG 2.x, 0 is black and 1 is white
Perceived brightness54.2 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 13.04:1
Contrast with white13.04:1WCAG normal text: AAA
Contrast with black1.61:1WCAG normal text: Fail
Greyscale equivalent#222222
Inverted#FDDE71
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text13.04:1WCAG large text: AAA
Contrast with black, large text1.61:1WCAG large text: Fail
Named colours
Hue familyblue
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#8E6F02
Analogous#02678E, #29028E
Triadic#8E0221, #218E02
Split complementary#8E2902, #678E02
Tetradic#8E0267, #8E6F02, #028E29
Tints, shades & saturation
Channel breakdown
R2
G33
B142
Red2 (0.8%)
Green33 (12.9%)
Blue142 (55.7%)
Hue226.71°
Saturation (HSL)97.22%
Lightness28.24%
Dominant channelBlue
Hex per channelR 02 · G 21 · 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