Recognised as Colour
#021B7F
- #021B7F
- Blue
- Dark
- Nearest: Midnight blue
#021B7F is a blue with RGB values 2, 27, 127 and HSL 228°, 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
#021B7F#021B7F
HEX#021B7F
RGBrgb(2, 27, 127)
RGB (0–1)0.0078, 0.1059, 0.498
RGB percentages0.8%, 10.6%, 49.8%
HSLhsl(228, 96.9%, 25.3%)
HSV / HSBhsv(228, 98.4%, 49.8%)
CMYK98.4%, 78.7%, 0%, 50.2%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer138,111
CSS custom property--colour: #021B7F;
Brightness & contrast
Relative luminance0.02329WCAG 2.x, 0 is black and 1 is white
Perceived brightness47.6 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 14.33:1
Contrast with white14.33:1WCAG normal text: AAA
Contrast with black1.47:1WCAG normal text: Fail
Greyscale equivalent#1D1D1D
Inverted#FDE480
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text14.33:1WCAG large text: AAA
Contrast with black, large text1.47:1WCAG large text: Fail
Named colours
Hue familyblue
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#7F6602
Analogous#025A7F, #27027F
Triadic#7F021B, #1B7F02
Split complementary#7F2802, #5A7F02
Tetradic#7F025A, #7F6602, #027F27
Tints, shades & saturation
Channel breakdown
R2
G27
B127
Red2 (0.8%)
Green27 (10.6%)
Blue127 (49.8%)
Hue228°
Saturation (HSL)96.9%
Lightness25.29%
Dominant channelBlue
Hex per channelR 02 · G 1B · B 7F
Keep nerding
Every link below is a page Nerdulator can generate from what it already knows about this value.
Nerdulate something else
Nothing in mind? Surprise me · today’s page