Nerdulator> put something in

Recognised as Colour

#31248A

  • #31248A
  • Blue
  • Dark
  • Nearest: Midnight blue

#31248A is a blue with RGB values 49, 36, 138 and HSL 248°, 59%, 34%. It is a dark colour, so white text on it reaches 12:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.

Colour values

#31248A#31248A
HEX#31248A
RGBrgb(49, 36, 138)
RGB (0–1)0.1922, 0.1412, 0.5412
RGB percentages19.2%, 14.1%, 54.1%
HSLhsl(247.6, 58.6%, 34.1%)
HSV / HSBhsv(247.6, 73.9%, 54.1%)
CMYK64.5%, 73.9%, 0%, 45.9%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer3,220,618
CSS custom property--colour: #31248A;

Brightness & contrast

Relative luminance0.0375WCAG 2.x, 0 is black and 1 is white
Perceived brightness60.4 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 12:1
Contrast with white12:1WCAG normal text: AAA
Contrast with black1.75:1WCAG normal text: Fail
Greyscale equivalent#2E2E2E
Inverted#CEDB75

Colour vision & accessibility

Protanopia#003A8Dno red cones; affects about 1% of men; ΔE 18.8 from the original
Deuteranopia#003388no green cones; the most common form, about 1% of men; ΔE 15.5 from the original
Tritanopia#004054no blue cones; rare, and affects men and women equally; ΔE 60.1 from the original
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text12:1WCAG large text: AAA
Contrast with black, large text1.75:1WCAG large text: Fail

Named colours

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

Colour harmonies

Complementary#7D8A24
Analogous#244A8A, #64248A
Triadic#8A3124, #248A31
Split complementary#8A6424, #4A8A24
Tetradic#8A244A, #7D8A24, #248A64

Tints, shades & saturation

Lighter +40%#A096E4
Lighter +30%#7C6ED9
Lighter +20%#5745CF
Lighter +10%#3F2FB2
Darker −10%#231962
Darker −20%#140F39
Darker −30%#060411
Darker −40%#000000
More saturated +25%#210EA0
Less saturated −25%#413A74

Channel breakdown

R49
G36
B138
Red49 (19.2%)
Green36 (14.1%)
Blue138 (54.1%)
Hue247.65°
Saturation (HSL)58.62%
Lightness34.12%
Dominant channelBlue
Hex per channelR 31 · G 24 · B 8A

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