Recognised as Colour
#021B70
- #021B70
- Blue
- Dark
- Nearest: Midnight blue
#021B70 is a blue with RGB values 2, 27, 112 and HSL 226°, 96%, 22%. It is a dark colour, so white text on it reaches 15.1:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.
Colour values
#021B70#021B70
HEX#021B70
RGBrgb(2, 27, 112)
RGB (0–1)0.0078, 0.1059, 0.4392
RGB percentages0.8%, 10.6%, 43.9%
HSLhsl(226.4, 96.5%, 22.4%)
HSV / HSBhsv(226.4, 98.2%, 43.9%)
CMYK98.2%, 75.9%, 0%, 56.1%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer138,096
CSS custom property--colour: #021B70;
Brightness & contrast
Relative luminance0.01967WCAG 2.x, 0 is black and 1 is white
Perceived brightness43.1 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 15.07:1
Contrast with white15.07:1WCAG normal text: AAA
Contrast with black1.39:1WCAG normal text: Fail
Greyscale equivalent#1C1C1C
Inverted#FDE48F
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text15.07:1WCAG large text: AAA
Contrast with black, large text1.39:1WCAG large text: Fail
Named colours
Hue familyblue
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#705702
Analogous#025270, #200270
Triadic#70021B, #1B7002
Split complementary#702002, #527002
Tetradic#700252, #705702, #027020
Tints, shades & saturation
Channel breakdown
R2
G27
B112
Red2 (0.8%)
Green27 (10.6%)
Blue112 (43.9%)
Hue226.36°
Saturation (HSL)96.49%
Lightness22.35%
Dominant channelBlue
Hex per channelR 02 · G 1B · B 70
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