Nerdulator> put something in

Recognised as Colour

#240C71

  • #240C71
  • Blue
  • Dark
  • Nearest: Midnight blue

#240C71 is a blue with RGB values 36, 12, 113 and HSL 254°, 81%, 25%. It is a dark colour, so white text on it reaches 15.4:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.

Colour values

#240C71#240C71
HEX#240C71
RGBrgb(36, 12, 113)
RGB (0–1)0.1412, 0.0471, 0.4431
RGB percentages14.1%, 4.7%, 44.3%
HSLhsl(254.3, 80.8%, 24.5%)
HSV / HSBhsv(254.3, 89.4%, 44.3%)
CMYK68.1%, 89.4%, 0%, 55.7%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer2,362,481
CSS custom property--colour: #240C71;

Brightness & contrast

Relative luminance0.0183WCAG 2.x, 0 is black and 1 is white
Perceived brightness43.9 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 15.37:1
Contrast with white15.37:1WCAG normal text: AAA
Contrast with black1.37:1WCAG normal text: Fail
Greyscale equivalent#181818
Inverted#DBF38E

Colour vision & accessibility

Protanopia#002874no red cones; affects about 1% of men; ΔE 19.9 from the original
Deuteranopia#00216Fno green cones; the most common form, about 1% of men; ΔE 16.5 from the original
Tritanopia#002D41no blue cones; rare, and affects men and women equally; ΔE 57.9 from the original
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text15.37:1WCAG large text: AAA
Contrast with black, large text1.37:1WCAG large text: Fail

Named colours

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

Colour harmonies

Complementary#59710C
Analogous#0C2771, #560C71
Triadic#71240C, #0C7124
Split complementary#71560C, #27710C
Tetradic#710C27, #59710C, #0C7156

Tints, shades & saturation

Lighter +40%#7E5BEE
Lighter +30%#5A2DE9
Lighter +20%#4116CD
Lighter +10%#33119F
Darker −10%#150743
Darker −20%#070215
Darker −30%#000000
Darker −40%#000000
More saturated +25%#1E007D
Less saturated −25%#2C1C61

Channel breakdown

R36
G12
B113
Red36 (14.1%)
Green12 (4.7%)
Blue113 (44.3%)
Hue254.26°
Saturation (HSL)80.8%
Lightness24.51%
Dominant channelBlue
Hex per channelR 24 · G 0C · B 71

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