Nerdulator> put something in

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

Protanopia#002D79no red cones; affects about 1% of men; ΔE 14.1 from the original
Deuteranopia#002274no green cones; the most common form, about 1% of men; ΔE 6.9 from the original
Tritanopia#003647no blue cones; rare, and affects men and women equally; ΔE 55.7 from the original
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

Nearest named CSS colourMidnight blue (#191970)ΔE 3.67, a close match
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

Lighter +40%#486FFC
Lighter +30%#1647FB
Lighter +20%#0432DA
Lighter +10%#0326A8
Darker −10%#011044
Darker −20%#000412
Darker −30%#000000
Darker −40%#000000
More saturated +25%#001A78
Less saturated −25%#112467

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.

Nerdulate something else

Nothing in mind? Surprise me · today’s page

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