Nerdulator> put something in

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

Protanopia#002158no red cones; affects about 1% of men; ΔE 16.6 from the original
Deuteranopia#001D55no green cones; the most common form, about 1% of men; ΔE 14.7 from the original
Tritanopia#102332no blue cones; rare, and affects men and women equally; ΔE 41.8 from the original
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

Nearest named CSS colourMidnight blue (#191970)ΔE 11.57, a distinctly different colour
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

Lighter +40%#7B50E1
Lighter +30%#5B26D8
Lighter +20%#481EAD
Lighter +10%#361781
Darker −10%#12072B
Darker −20%#000000
Darker −30%#000000
Darker −40%#000000
More saturated +25%#1F0263
Less saturated −25%#291C49

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.

Nerdulate something else

Nothing in mind? Surprise me · today’s page

Every value on this page was computed from “240f56” by Nerdulator’s colour engine. Nothing here was retrieved from a database of answers or written by a model.