Recognised as Colour
#021F64
- #021F64
- Blue
- Dark
- Nearest: Midnight blue
#021F64 is a blue with RGB values 2, 31, 100 and HSL 222°, 96%, 20%. It is a dark colour, so white text on it reaches 15.2:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.
Colour values
#021F64#021F64
HEX#021F64
RGBrgb(2, 31, 100)
RGB (0–1)0.0078, 0.1216, 0.3922
RGB percentages0.8%, 12.2%, 39.2%
HSLhsl(222.2, 96.1%, 20%)
HSV / HSBhsv(222.2, 98%, 39.2%)
CMYK98%, 69%, 0%, 60.8%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer139,108
CSS custom property--colour: #021F64;
Brightness & contrast
Relative luminance0.01913WCAG 2.x, 0 is black and 1 is white
Perceived brightness41.3 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 15.19:1
Contrast with white15.19:1WCAG normal text: AAA
Contrast with black1.38:1WCAG normal text: Fail
Greyscale equivalent#1E1E1E
Inverted#FDE09B
Colour vision & accessibility
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text15.19:1WCAG large text: AAA
Contrast with black, large text1.38:1WCAG large text: Fail
Named colours
Hue familyblue
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#644702
Analogous#025064, #160264
Triadic#64021F, #1F6402
Split complementary#641602, #506402
Tetradic#640250, #644702, #026416
Tints, shades & saturation
Channel breakdown
R2
G31
B100
Red2 (0.8%)
Green31 (12.2%)
Blue100 (39.2%)
Hue222.24°
Saturation (HSL)96.08%
Lightness20%
Dominant channelBlue
Hex per channelR 02 · G 1F · B 64
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