Recognised as Colour
#021F4C
- #021F4C
- Blue
- Dark
- Nearest: Dark slateblue
#021F4C is a blue with RGB values 2, 31, 76 and HSL 216°, 95%, 15%. It is a dark colour, so white text on it reaches 16.1:1 contrast (AAA for normal text). The nearest named colour is Dark slateblue.
Colour values
#021F4C#021F4C
HEX#021F4C
RGBrgb(2, 31, 76)
RGB (0–1)0.0078, 0.1216, 0.298
RGB percentages0.8%, 12.2%, 29.8%
HSLhsl(216.5, 94.9%, 15.3%)
HSV / HSBhsv(216.5, 97.4%, 29.8%)
CMYK97.4%, 59.2%, 0%, 70.2%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer139,084
CSS custom property--colour: #021F4C;
Brightness & contrast
Relative luminance0.01515WCAG 2.x, 0 is black and 1 is white
Perceived brightness35 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 16.12:1
Contrast with white16.12:1WCAG normal text: AAA
Contrast with black1.3:1WCAG normal text: Fail
Greyscale equivalent#1C1C1C
Inverted#FDE0B3
Colour vision & accessibility
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text16.12:1WCAG large text: AAA
Contrast with black, large text1.3:1WCAG large text: Fail
Named colours
Hue familyblue
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#4C2F02
Analogous#02444C, #0A024C
Triadic#4C021F, #1F4C02
Split complementary#4C0A02, #444C02
Tetradic#4C0244, #4C2F02, #024C0A
Tints, shades & saturation
Channel breakdown
R2
G31
B76
Red2 (0.8%)
Green31 (12.2%)
Blue76 (29.8%)
Hue216.49°
Saturation (HSL)94.87%
Lightness15.29%
Dominant channelBlue
Hex per channelR 02 · G 1F · B 4C
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