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
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
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
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.
Harmonies
Similar named colours
Nerdulate something else
Nothing in mind? Surprise me · today’s page