Nerdulator> put something in

Colour

#240D48

  • #240D48
  • Violet
  • Dark
  • Nearest: Midnight blue

#240D48 is a violet with RGB values 36, 13, 72 and HSL 263°, 69%, 17%. It is a dark colour, so white text on it reaches 17.1:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.

Colour values

#240D48#240D48
HEX#240D48
RGBrgb(36, 13, 72)
RGB (0–1)0.1412, 0.051, 0.2824
RGB percentages14.1%, 5.1%, 28.2%
HSLhsl(263.4, 69.4%, 16.7%)
HSV / HSBhsv(263.4, 81.9%, 28.2%)
CMYK50%, 81.9%, 0%, 71.8%naive device-independent conversion; real print needs an ICC profile
24-bit integer2,362,696
CSS custom property--colour: #240D48;

Brightness & contrast

Relative luminance0.01131WCAG 2.x, 0 is black and 1 is white
Perceived brightness32.8 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 17.13:1
Contrast with white17.13:1WCAG normal text: AAA
Contrast with black1.23:1WCAG normal text: Fail
Greyscale equivalent#161616
Inverted#DBF2B7

Colour vision & accessibility

Protanopia#001C4Ano red cones; affects about 1% of men; ΔE 15.7 from the original
Deuteranopia#001B47no green cones; the most common form, about 1% of men; ΔE 16.3 from the original
Tritanopia#1A1C29no blue cones; rare, and affects men and women equally; ΔE 33.2 from the original
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text17.13:1WCAG large text: AAA
Contrast with black, large text1.23:1WCAG large text: Fail

Named colours

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

Colour harmonies

Complementary#31480D
Analogous#0D1348, #410D48
Triadic#48240D, #0D4824
Split complementary#48420D, #13480D
Tetradic#480D13, #31480D, #0D4841

Tints, shades & saturation

Lighter +40%#8044DD
Lighter +30%#6524CA
Lighter +20%#4F1D9E
Lighter +10%#3A1573
Darker −10%#0E051D
Darker −20%#000000
Darker −30%#000000
Darker −40%#000000
More saturated +25%#220253
Less saturated −25%#26183D

Channel breakdown

R36
G13
B72
Red36 (14.1%)
Green13 (5.1%)
Blue72 (28.2%)
Hue263.39°
Saturation (HSL)69.41%
Lightness16.67%
Dominant channelBlue
Hex per channelR 24 · G 0D · B 48

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