Recognised as Colour
#021D7B
- #021D7B
- Blue
- Dark
- Nearest: Midnight blue
#021D7B is a blue with RGB values 2, 29, 123 and HSL 227°, 97%, 25%. It is a dark colour, so white text on it reaches 14.3:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.
Colour values
#021D7B#021D7B
HEX#021D7B
RGBrgb(2, 29, 123)
RGB (0–1)0.0078, 0.1137, 0.4824
RGB percentages0.8%, 11.4%, 48.2%
HSLhsl(226.6, 96.8%, 24.5%)
HSV / HSBhsv(226.6, 98.4%, 48.2%)
CMYK98.4%, 76.4%, 0%, 51.8%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer138,619
CSS custom property--colour: #021D7B;
Brightness & contrast
Relative luminance0.02322WCAG 2.x, 0 is black and 1 is white
Perceived brightness47.1 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 14.34:1
Contrast with white14.34:1WCAG normal text: AAA
Contrast with black1.46:1WCAG normal text: Fail
Greyscale equivalent#1E1E1E
Inverted#FDE284
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text14.34:1WCAG large text: AAA
Contrast with black, large text1.46:1WCAG large text: Fail
Named colours
Hue familyblue
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#7B6002
Analogous#025A7B, #23027B
Triadic#7B021D, #1D7B02
Split complementary#7B2302, #5A7B02
Tetradic#7B025A, #7B6002, #027B23
Tints, shades & saturation
Channel breakdown
R2
G29
B123
Red2 (0.8%)
Green29 (11.4%)
Blue123 (48.2%)
Hue226.61°
Saturation (HSL)96.8%
Lightness24.51%
Dominant channelBlue
Hex per channelR 02 · G 1D · B 7B
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