Nerdulator> put something in

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

Protanopia#002A6Dno red cones; affects about 1% of men; ΔE 12.5 from the original
Deuteranopia#00206Ano green cones; the most common form, about 1% of men; ΔE 5 from the original
Tritanopia#003241no blue cones; rare, and affects men and women equally; ΔE 49.9 from the original
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

Nearest named CSS colourMidnight blue (#191970)ΔE 5.22, clearly different but related
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

Lighter +40%#3E6BFB
Lighter +30%#0C44FA
Lighter +20%#0434CF
Lighter +10%#03289D
Darker −10%#010E39
Darker −20%#000207
Darker −30%#000000
Darker −40%#000000
More saturated +25%#001A6D
Less saturated −25%#10225D

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.

Nerdulate something else

Nothing in mind? Surprise me · today’s page

Every value on this page was computed from “021b6b” by Nerdulator’s colour engine. Nothing here was retrieved from a database of answers or written by a model.