Recognised as Colour
#240F56
- #240F56
- Violet
- Dark
- Nearest: Midnight blue
#240F56 is a violet with RGB values 36, 15, 86 and HSL 258°, 70%, 20%. It is a dark colour, so white text on it reaches 16.4:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.
Colour values
#240F56#240F56
HEX#240F56
RGBrgb(36, 15, 86)
RGB (0–1)0.1412, 0.0588, 0.3373
RGB percentages14.1%, 5.9%, 33.7%
HSLhsl(257.7, 70.3%, 19.8%)
HSV / HSBhsv(257.7, 82.6%, 33.7%)
CMYK58.1%, 82.6%, 0%, 66.3%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer2,363,222
CSS custom property--colour: #240F56;
Brightness & contrast
Relative luminance0.01389WCAG 2.x, 0 is black and 1 is white
Perceived brightness36.9 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 16.44:1
Contrast with white16.44:1WCAG normal text: AAA
Contrast with black1.28:1WCAG normal text: Fail
Greyscale equivalent#191919
Inverted#DBF0A9
Colour vision & accessibility
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text16.44:1WCAG large text: AAA
Contrast with black, large text1.28:1WCAG large text: Fail
Named colours
Hue familyviolet
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#41560F
Analogous#0F1E56, #480F56
Triadic#56240F, #0F5624
Split complementary#56480F, #1E560F
Tetradic#560F1E, #41560F, #0F5647
Tints, shades & saturation
Channel breakdown
R36
G15
B86
Red36 (14.1%)
Green15 (5.9%)
Blue86 (33.7%)
Hue257.75°
Saturation (HSL)70.3%
Lightness19.8%
Dominant channelBlue
Hex per channelR 24 · G 0F · B 56
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