Nerdulator> put something in

Recognised as Colour

#240F59

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

#240F59 is a violet with RGB values 36, 15, 89 and HSL 257°, 71%, 20%. It is a dark colour, so white text on it reaches 16.3:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.

Colour values

#240F59#240F59
HEX#240F59
RGBrgb(36, 15, 89)
RGB (0–1)0.1412, 0.0588, 0.349
RGB percentages14.1%, 5.9%, 34.9%
HSLhsl(257, 71.2%, 20.4%)
HSV / HSBhsv(257, 83.1%, 34.9%)
CMYK59.6%, 83.1%, 0%, 65.1%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer2,363,225
CSS custom property--colour: #240F59;

Brightness & contrast

Relative luminance0.01438WCAG 2.x, 0 is black and 1 is white
Perceived brightness37.7 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 16.31:1
Contrast with white16.31:1WCAG normal text: AAA
Contrast with black1.29:1WCAG normal text: Fail
Greyscale equivalent#191919
Inverted#DBF0A6

Colour vision & accessibility

Protanopia#00225Bno red cones; affects about 1% of men; ΔE 17 from the original
Deuteranopia#001E58no green cones; the most common form, about 1% of men; ΔE 15.1 from the original
Tritanopia#0D2434no blue cones; rare, and affects men and women equally; ΔE 43.4 from the original
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text16.31:1WCAG large text: AAA
Contrast with black, large text1.29:1WCAG large text: Fail

Named colours

Nearest named CSS colourMidnight blue (#191970)ΔE 9.96, clearly different but related
Hue familyviolet
CSS keyword usableNo exact keyword

Colour harmonies

Complementary#44590F
Analogous#0F1F59, #490F59
Triadic#59240F, #0F5924
Split complementary#59490F, #1F590F
Tetradic#590F1F, #44590F, #0F5949

Tints, shades & saturation

Lighter +40%#7B52E2
Lighter +30%#5A26DB
Lighter +20%#471EB0
Lighter +10%#361685
Darker −10%#12082D
Darker −20%#010002
Darker −30%#000000
Darker −40%#000000
More saturated +25%#1E0266
Less saturated −25%#2A1C4C

Channel breakdown

R36
G15
B89
Red36 (14.1%)
Green15 (5.9%)
Blue89 (34.9%)
Hue257.03°
Saturation (HSL)71.15%
Lightness20.39%
Dominant channelBlue
Hex per channelR 24 · G 0F · B 59

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