Recognised as Colour
#021A62
- #021A62
- Blue
- Dark
- Nearest: Midnight blue
#021A62 is a blue with RGB values 2, 26, 98 and HSL 225°, 96%, 20%. It is a dark colour, so white text on it reaches 15.8:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.
Colour values
#021A62#021A62
HEX#021A62
RGBrgb(2, 26, 98)
RGB (0–1)0.0078, 0.102, 0.3843
RGB percentages0.8%, 10.2%, 38.4%
HSLhsl(225, 96%, 19.6%)
HSV / HSBhsv(225, 98%, 38.4%)
CMYK98%, 73.5%, 0%, 61.6%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer137,826
CSS custom property--colour: #021A62;
Brightness & contrast
Relative luminance0.01634WCAG 2.x, 0 is black and 1 is white
Perceived brightness38.6 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 15.83:1
Contrast with white15.83:1WCAG normal text: AAA
Contrast with black1.33:1WCAG normal text: Fail
Greyscale equivalent#1A1A1A
Inverted#FDE59D
Colour vision & accessibility
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text15.83:1WCAG large text: AAA
Contrast with black, large text1.33:1WCAG large text: Fail
Named colours
Hue familyblue
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#624A02
Analogous#024A62, #1A0262
Triadic#62021A, #1A6202
Split complementary#621A02, #4A6202
Tetradic#62024A, #624A02, #02621A
Tints, shades & saturation
Channel breakdown
R2
G26
B98
Red2 (0.8%)
Green26 (10.2%)
Blue98 (38.4%)
Hue225°
Saturation (HSL)96%
Lightness19.61%
Dominant channelBlue
Hex per channelR 02 · G 1A · B 62
Keep nerding
Every link below is a page Nerdulator can generate from what it already knows about this value.
Harmonies
Similar named colours
Nerdulate something else
Nothing in mind? Surprise me · today’s page