Recognised as Colour
#021A68
- #021A68
- Blue
- Dark
- Nearest: Midnight blue
#021A68 is a blue with RGB values 2, 26, 104 and HSL 226°, 96%, 21%. It is a dark colour, so white text on it reaches 15.6:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.
Colour values
#021A68#021A68
HEX#021A68
RGBrgb(2, 26, 104)
RGB (0–1)0.0078, 0.102, 0.4078
RGB percentages0.8%, 10.2%, 40.8%
HSLhsl(225.9, 96.2%, 20.8%)
HSV / HSBhsv(225.9, 98.1%, 40.8%)
CMYK98.1%, 75%, 0%, 59.2%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer137,832
CSS custom property--colour: #021A68;
Brightness & contrast
Relative luminance0.01751WCAG 2.x, 0 is black and 1 is white
Perceived brightness40.4 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 15.55:1
Contrast with white15.55:1WCAG normal text: AAA
Contrast with black1.35:1WCAG normal text: Fail
Greyscale equivalent#1B1B1B
Inverted#FDE597
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text15.55:1WCAG large text: AAA
Contrast with black, large text1.35:1WCAG large text: Fail
Named colours
Hue familyblue
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#685002
Analogous#024D68, #1D0268
Triadic#68021A, #1A6802
Split complementary#681D02, #4D6802
Tetradic#68024D, #685002, #02681D
Tints, shades & saturation
Channel breakdown
R2
G26
B104
Red2 (0.8%)
Green26 (10.2%)
Blue104 (40.8%)
Hue225.88°
Saturation (HSL)96.23%
Lightness20.78%
Dominant channelBlue
Hex per channelR 02 · G 1A · B 68
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