Nerdulator> put something in

Recognised as Colour

#240B50

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

#240B50 is a violet with RGB values 36, 11, 80 and HSL 262°, 76%, 18%. It is a dark colour, so white text on it reaches 17:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.

Colour values

#240B50#240B50
HEX#240B50
RGBrgb(36, 11, 80)
RGB (0–1)0.1412, 0.0431, 0.3137
RGB percentages14.1%, 4.3%, 31.4%
HSLhsl(261.7, 75.8%, 17.8%)
HSV / HSBhsv(261.7, 86.3%, 31.4%)
CMYK55%, 86.3%, 0%, 68.6%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer2,362,192
CSS custom property--colour: #240B50;

Brightness & contrast

Relative luminance0.01194WCAG 2.x, 0 is black and 1 is white
Perceived brightness34.5 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 16.95:1
Contrast with white16.95:1WCAG normal text: AAA
Contrast with black1.24:1WCAG normal text: Fail
Greyscale equivalent#151515
Inverted#DBF4AF

Colour vision & accessibility

Protanopia#001D52no red cones; affects about 1% of men; ΔE 16.3 from the original
Deuteranopia#001B4Fno green cones; the most common form, about 1% of men; ΔE 16.1 from the original
Tritanopia#151F2Dno blue cones; rare, and affects men and women equally; ΔE 39.8 from the original
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text16.95:1WCAG large text: AAA
Contrast with black, large text1.24:1WCAG large text: Fail

Named colours

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

Colour harmonies

Complementary#37500B
Analogous#0B1450, #460B50
Triadic#50240B, #0B5024
Split complementary#50470B, #14500B
Tetradic#500B15, #37500B, #0B5047

Tints, shades & saturation

Lighter +40%#7D42E5
Lighter +30%#611DD7
Lighter +20%#4C17AA
Lighter +10%#38117D
Darker −10%#100523
Darker −20%#000000
Darker −30%#000000
Darker −40%#000000
More saturated +25%#21005B
Less saturated −25%#271645

Channel breakdown

R36
G11
B80
Red36 (14.1%)
Green11 (4.3%)
Blue80 (31.4%)
Hue261.74°
Saturation (HSL)75.82%
Lightness17.84%
Dominant channelBlue
Hex per channelR 24 · G 0B · B 50

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