Nerdulator> put something in

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

Protanopia#003082no red cones; affects about 1% of men; ΔE 16.1 from the original
Deuteranopia#00247Dno green cones; the most common form, about 1% of men; ΔE 8.3 from the original
Tritanopia#00394Cno blue cones; rare, and affects men and women equally; ΔE 59.9 from the original
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

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

Lighter +40%#5173FC
Lighter +30%#1F4BFB
Lighter +20%#0430E3
Lighter +10%#0326B1
Darker −10%#01104D
Darker −20%#00061B
Darker −30%#000000
Darker −40%#000000
More saturated +25%#001A81
Less saturated −25%#12256F

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

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