#240F66

A dark, vivid blue closely aligning with Midnightblue.

About #240F66

At its core, #240F66 is a dark and vivid hue. Designers often compare it to the standard color Midnightblue. In the RGB color space, it consists of 36 red, 15 green, and 102 blue.

Translating this color to physical media requires the CMYK color model. This specific hue requires a mix of 65% C, 85% M, 0% Y, and 60% K. This makes it a relatively dark color when applied to physical surfaces.

Ensuring your text is legible against this background is a key part of web design. The calculated luminance score dictates that #FFFFFF typography is the safest choice. Strict adherence to these ratios protects visually impaired users from unreadable interfaces.

Color Space Conversions

HEX#240F66
RGB36, 15, 102
HSL254.5°, 74.4%, 22.9%
CMYK65%, 85%, 0%, 60%
HSV254.5°, 85.3%, 40.0%
LAB13.7, 35.1, -46.6
XYZ3.3, 1.7, 12.7
Decimal2363238

Color Harmonies

Complementary

Analogous

Triadic

Tints, Shades & Tones

Tints (Adding White)

Shades (Adding Black)

WCAG Contrast Accessibility

15.73:1
Text on #FFFFFF
AAA
1.34:1
Text on #000000
FAIL
15.03:1
Text on #F8FAFC
AAA
1.14:1
Text on #0F172A
FAIL

CSS Implementation

.bg-color { background-color: #240F66; }
.text-color { color: #240F66; }
.border-color { border: 2px solid #240F66; }

Similar Colors

Midnightblue
#191970