Nerdulator> put something in

Colour

#21218C

  • #21218C
  • Blue
  • Dark
  • Nearest: Midnight blue

#21218C is a blue with RGB values 33, 33, 140 and HSL 240°, 62%, 34%. It is a dark colour, so white text on it reaches 12.6:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.

Colour values

#21218C#21218C
HEX#21218C
RGBrgb(33, 33, 140)
RGB (0–1)0.1294, 0.1294, 0.549
RGB percentages12.9%, 12.9%, 54.9%
HSLhsl(240, 61.8%, 33.9%)
HSV / HSBhsv(240, 76.4%, 54.9%)
CMYK76.4%, 76.4%, 0%, 45.1%naive device-independent conversion; real print needs an ICC profile
24-bit integer2,171,276
CSS custom property--colour: #21218C;

Brightness & contrast

Relative luminance0.03304WCAG 2.x, 0 is black and 1 is white
Perceived brightness56.6 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 12.64:1
Contrast with white12.64:1WCAG normal text: AAA
Contrast with black1.66:1WCAG normal text: Fail
Greyscale equivalent#292929
Inverted#DEDE73

Colour vision & accessibility

Protanopia#00388Fno red cones; affects about 1% of men; ΔE 18.2 from the original
Deuteranopia#002E8Ano green cones; the most common form, about 1% of men; ΔE 12.2 from the original
Tritanopia#004055no blue cones; rare, and affects men and women equally; ΔE 62.4 from the original
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text12.64:1WCAG large text: AAA
Contrast with black, large text1.66:1WCAG large text: Fail

Named colours

Nearest named CSS colourMidnight blue (#191970)ΔE 11.95, a distinctly different colour
Hue familyblue
CSS keyword usableNo exact keyword

Colour harmonies

Complementary#8C8C21
Analogous#21578C, #57218C
Triadic#8C2121, #218C21
Split complementary#8C5721, #578C21
Tetradic#8C2157, #8C8C21, #218C57

Tints, shades & saturation

Lighter +40%#9393E6
Lighter +30%#6A6ADC
Lighter +20%#4141D2
Lighter +10%#2B2BB5
Darker −10%#171763
Darker −20%#0E0E39
Darker −30%#040410
Darker −40%#000000
More saturated +25%#0B0BA2
Less saturated −25%#373776

Channel breakdown

R33
G33
B140
Red33 (12.9%)
Green33 (12.9%)
Blue140 (54.9%)
Hue240°
Saturation (HSL)61.85%
Lightness33.92%
Dominant channelBlue
Hex per channelR 21 · G 21 · B 8C

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 “21218c” by Nerdulator’s colour engine. Nothing here was retrieved from a database of answers or written by a model.