Nerdulator> put something in

Recognised as Colour

#31255A

  • #31255A
  • Blue
  • Dark
  • Nearest: Dark slateblue

#31255A is a blue with RGB values 49, 37, 90 and HSL 254°, 42%, 25%. It is a dark colour, so white text on it reaches 13.6:1 contrast (AAA for normal text). The nearest named colour is Dark slateblue.

Colour values

#31255A#31255A
HEX#31255A
RGBrgb(49, 37, 90)
RGB (0–1)0.1922, 0.1451, 0.3529
RGB percentages19.2%, 14.5%, 35.3%
HSLhsl(253.6, 41.7%, 24.9%)
HSV / HSBhsv(253.6, 58.9%, 35.3%)
CMYK45.6%, 58.9%, 0%, 64.7%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer3,220,826
CSS custom property--colour: #31255A;

Brightness & contrast

Relative luminance0.02714WCAG 2.x, 0 is black and 1 is white
Perceived brightness49.4 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 13.61:1
Contrast with white13.61:1WCAG normal text: AAA
Contrast with black1.54:1WCAG normal text: Fail
Greyscale equivalent#2B2B2B
Inverted#CEDAA5

Colour vision & accessibility

Protanopia#0B2F5Cno red cones; affects about 1% of men; ΔE 14 from the original
Deuteranopia#0D2D59no green cones; the most common form, about 1% of men; ΔE 13.6 from the original
Tritanopia#25303Bno blue cones; rare, and affects men and women equally; ΔE 30.7 from the original
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text13.61:1WCAG large text: AAA
Contrast with black, large text1.54:1WCAG large text: Fail

Named colours

Nearest named CSS colourDark slateblue (#483D8B)ΔE 17.87, a distinctly different colour
Hue familyblue
CSS keyword usableNo exact keyword

Colour harmonies

Complementary#4E5A25
Analogous#25345A, #4B255A
Triadic#5A3125, #255A31
Split complementary#5A4B25, #345A25
Tetradic#5A2534, #4E5A25, #255A4B

Tints, shades & saturation

Lighter +40%#9180CB
Lighter +30%#725CBC
Lighter +20%#5843A2
Lighter +10%#45347E
Darker −10%#1D1636
Darker −20%#0A0712
Darker −30%#000000
Darker −40%#000000
More saturated +25%#28156A
Less saturated −25%#3A354A

Channel breakdown

R49
G37
B90
Red49 (19.2%)
Green37 (14.5%)
Blue90 (35.3%)
Hue253.58°
Saturation (HSL)41.73%
Lightness24.9%
Dominant channelBlue
Hex per channelR 31 · G 25 · B 5A

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