Recognised as Colour
#021B76
- #021B76
- Blue
- Dark
- Nearest: Midnight blue
#021B76 is a blue with RGB values 2, 27, 118 and HSL 227°, 97%, 24%. It is a dark colour, so white text on it reaches 14.8:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.
Colour values
#021B76#021B76
HEX#021B76
RGBrgb(2, 27, 118)
RGB (0–1)0.0078, 0.1059, 0.4627
RGB percentages0.8%, 10.6%, 46.3%
HSLhsl(227.1, 96.7%, 23.5%)
HSV / HSBhsv(227.1, 98.3%, 46.3%)
CMYK98.3%, 77.1%, 0%, 53.7%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer138,102
CSS custom property--colour: #021B76;
Brightness & contrast
Relative luminance0.02105WCAG 2.x, 0 is black and 1 is white
Perceived brightness44.9 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 14.78:1
Contrast with white14.78:1WCAG normal text: AAA
Contrast with black1.42:1WCAG normal text: Fail
Greyscale equivalent#1C1C1C
Inverted#FDE489
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text14.78:1WCAG large text: AAA
Contrast with black, large text1.42:1WCAG large text: Fail
Named colours
Hue familyblue
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#765D02
Analogous#025576, #230276
Triadic#76021B, #1B7602
Split complementary#762302, #557602
Tetradic#760255, #765D02, #027623
Tints, shades & saturation
Channel breakdown
R2
G27
B118
Red2 (0.8%)
Green27 (10.6%)
Blue118 (46.3%)
Hue227.07°
Saturation (HSL)96.67%
Lightness23.53%
Dominant channelBlue
Hex per channelR 02 · G 1B · B 76
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