Recognised as Colour
#021B6B
- #021B6B
- Blue
- Dark
- Nearest: Midnight blue
#021B6B is a blue with RGB values 2, 27, 107 and HSL 226°, 96%, 21%. It is a dark colour, so white text on it reaches 15.3:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.
Colour values
#021B6B#021B6B
HEX#021B6B
RGBrgb(2, 27, 107)
RGB (0–1)0.0078, 0.1059, 0.4196
RGB percentages0.8%, 10.6%, 42%
HSLhsl(225.7, 96.3%, 21.4%)
HSV / HSBhsv(225.7, 98.1%, 42%)
CMYK98.1%, 74.8%, 0%, 58%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer138,091
CSS custom property--colour: #021B6B;
Brightness & contrast
Relative luminance0.01858WCAG 2.x, 0 is black and 1 is white
Perceived brightness41.6 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 15.31:1
Contrast with white15.31:1WCAG normal text: AAA
Contrast with black1.37:1WCAG normal text: Fail
Greyscale equivalent#1B1B1B
Inverted#FDE494
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text15.31:1WCAG large text: AAA
Contrast with black, large text1.37:1WCAG large text: Fail
Named colours
Hue familyblue
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#6B5202
Analogous#024F6B, #1E026B
Triadic#6B021B, #1B6B02
Split complementary#6B1E02, #4F6B02
Tetradic#6B024F, #6B5202, #026B1E
Tints, shades & saturation
Channel breakdown
R2
G27
B107
Red2 (0.8%)
Green27 (10.6%)
Blue107 (42%)
Hue225.71°
Saturation (HSL)96.33%
Lightness21.37%
Dominant channelBlue
Hex per channelR 02 · G 1B · B 6B
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