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