Nerdulator> put something in

Recognised as Colour

#21257B

  • #21257B
  • Blue
  • Dark
  • Nearest: Midnight blue

#21257B is a blue with RGB values 33, 37, 123 and HSL 237°, 58%, 31%. It is a dark colour, so white text on it reaches 13:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.

Colour values

#21257B#21257B
HEX#21257B
RGBrgb(33, 37, 123)
RGB (0–1)0.1294, 0.1451, 0.4824
RGB percentages12.9%, 14.5%, 48.2%
HSLhsl(237.3, 57.7%, 30.6%)
HSV / HSBhsv(237.3, 73.2%, 48.2%)
CMYK73.2%, 69.9%, 0%, 51.8%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer2,172,283
CSS custom property--colour: #21257B;

Brightness & contrast

Relative luminance0.03077WCAG 2.x, 0 is black and 1 is white
Perceived brightness53.4 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 13:1
Contrast with white13:1WCAG normal text: AAA
Contrast with black1.62:1WCAG normal text: Fail
Greyscale equivalent#2A2A2A
Inverted#DEDA84

Colour vision & accessibility

Protanopia#00357Eno red cones; affects about 1% of men; ΔE 13.9 from the original
Deuteranopia#002D79no green cones; the most common form, about 1% of men; ΔE 9.6 from the original
Tritanopia#003C4Cno blue cones; rare, and affects men and women equally; ΔE 52.7 from the original
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text13:1WCAG large text: AAA
Contrast with black, large text1.62:1WCAG large text: Fail

Named colours

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

Colour harmonies

Complementary#7B7721
Analogous#21527B, #4A217B
Triadic#7B2125, #257B21
Split complementary#7B4A21, #527B21
Tetradic#7B2152, #7B7721, #217B4A

Tints, shades & saturation

Lighter +40%#898DDF
Lighter +30%#6166D4
Lighter +20%#383FCA
Lighter +10%#2C31A3
Darker −10%#161953
Darker −20%#0B0D2B
Darker −30%#010102
Darker −40%#000000
More saturated +25%#0E138F
Less saturated −25%#353768

Channel breakdown

R33
G37
B123
Red33 (12.9%)
Green37 (14.5%)
Blue123 (48.2%)
Hue237.33°
Saturation (HSL)57.69%
Lightness30.59%
Dominant channelBlue
Hex per channelR 21 · G 25 · B 7B

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