Nerdulator> put something in

Recognised as Colour

#240B46

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

#240B46 is a violet with RGB values 36, 11, 70 and HSL 265°, 73%, 16%. It is a dark colour, so white text on it reaches 17.3:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.

Colour values

#240B46#240B46
HEX#240B46
RGBrgb(36, 11, 70)
RGB (0–1)0.1412, 0.0431, 0.2745
RGB percentages14.1%, 4.3%, 27.5%
HSLhsl(265.4, 72.8%, 15.9%)
HSV / HSBhsv(265.4, 84.3%, 27.5%)
CMYK48.6%, 84.3%, 0%, 72.5%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer2,362,182
CSS custom property--colour: #240B46;

Brightness & contrast

Relative luminance0.01057WCAG 2.x, 0 is black and 1 is white
Perceived brightness31.9 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 17.34:1
Contrast with white17.34:1WCAG normal text: AAA
Contrast with black1.21:1WCAG normal text: Fail
Greyscale equivalent#151515
Inverted#DBF4B9

Colour vision & accessibility

Protanopia#001B48no red cones; affects about 1% of men; ΔE 16.3 from the original
Deuteranopia#001A45no green cones; the most common form, about 1% of men; ΔE 17 from the original
Tritanopia#1B1B28no blue cones; rare, and affects men and women equally; ΔE 32.8 from the original
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text17.34:1WCAG large text: AAA
Contrast with black, large text1.21:1WCAG large text: Fail

Named colours

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

Colour harmonies

Complementary#2D460B
Analogous#0B0F46, #420B46
Triadic#46240B, #0B4624
Split complementary#46420B, #10460B
Tetradic#460B0F, #2D460B, #0B4642

Tints, shades & saturation

Lighter +40%#823DE0
Lighter +30%#6820CA
Lighter +20%#51199E
Lighter +10%#3B1272
Darker −10%#0D041A
Darker −20%#000000
Darker −30%#000000
Darker −40%#000000
More saturated +25%#220150
Less saturated −25%#26153C

Channel breakdown

R36
G11
B70
Red36 (14.1%)
Green11 (4.3%)
Blue70 (27.5%)
Hue265.42°
Saturation (HSL)72.84%
Lightness15.88%
Dominant channelBlue
Hex per channelR 24 · G 0B · B 46

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