Nerdulator> put something in

Recognised as Colour

#21247F

  • #21247F
  • Blue
  • Dark
  • Nearest: Midnight blue

#21247F is a blue with RGB values 33, 36, 127 and HSL 238°, 59%, 31%. It is a dark colour, so white text on it reaches 12.9:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.

Colour values

#21247F#21247F
HEX#21247F
RGBrgb(33, 36, 127)
RGB (0–1)0.1294, 0.1412, 0.498
RGB percentages12.9%, 14.1%, 49.8%
HSLhsl(238.1, 58.8%, 31.4%)
HSV / HSBhsv(238.1, 74%, 49.8%)
CMYK74%, 71.7%, 0%, 50.2%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer2,172,031
CSS custom property--colour: #21247F;

Brightness & contrast

Relative luminance0.03117WCAG 2.x, 0 is black and 1 is white
Perceived brightness54.1 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 12.94:1
Contrast with white12.94:1WCAG normal text: AAA
Contrast with black1.62:1WCAG normal text: Fail
Greyscale equivalent#2A2A2A
Inverted#DEDB80

Colour vision & accessibility

Protanopia#003682no red cones; affects about 1% of men; ΔE 15.2 from the original
Deuteranopia#002D7Dno green cones; the most common form, about 1% of men; ΔE 10.1 from the original
Tritanopia#003D4Eno blue cones; rare, and affects men and women equally; ΔE 55.3 from the original
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text12.94:1WCAG large text: AAA
Contrast with black, large text1.62:1WCAG large text: Fail

Named colours

Nearest named CSS colourMidnight blue (#191970)ΔE 5.08, clearly different but related
Hue familyblue
CSS keyword usableNo exact keyword

Colour harmonies

Complementary#7F7C21
Analogous#21537F, #4D217F
Triadic#7F2124, #247F21
Split complementary#7F4D21, #537F21
Tetradic#7F2153, #7F7C21, #217F4D

Tints, shades & saturation

Lighter +40%#8B8EE1
Lighter +30%#6366D6
Lighter +20%#3A3FCC
Lighter +10%#2C2FA7
Darker −10%#161957
Darker −20%#0C0D2E
Darker −30%#010206
Darker −40%#000000
More saturated +25%#0D1193
Less saturated −25%#35376B

Channel breakdown

R33
G36
B127
Red33 (12.9%)
Green36 (14.1%)
Blue127 (49.8%)
Hue238.09°
Saturation (HSL)58.75%
Lightness31.37%
Dominant channelBlue
Hex per channelR 21 · G 24 · 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 “21247f” by Nerdulator’s colour engine. Nothing here was retrieved from a database of answers or written by a model.