#24246D

A dark, moderate blue closely aligning with Midnightblue.

About #24246D

The precise color #24246D is an excellent choice for modern design projects. It is closely associated with the named CSS color Midnightblue. This translates to an RGB value of rgb(36, 36, 109).

Translating this color to physical media requires the CMYK color model. This specific hue requires a mix of 67% C, 67% M, 0% Y, and 57% K. With a hue angle of 240.0 degrees, it sits comfortably in the blue spectrum.

When using this color as a background, text legibility must be considered. To prevent eye strain, #FFFFFF text pairs best with this hex code. You can view the detailed AAA and AA pass/fail metrics in the table below.

Color Space Conversions

HEX#24246D
RGB36, 36, 109
HSL240.0°, 50.3%, 28.4%
CMYK67%, 67%, 0%, 57%
HSV240.0°, 67.0%, 42.7%
LAB19.0, 24.9, -42.5
XYZ4.1, 2.7, 14.8
Decimal2368621

Color Harmonies

Complementary

Analogous

Triadic

Tints, Shades & Tones

Tints (Adding White)

Shades (Adding Black)

WCAG Contrast Accessibility

13.56:1
Text on #FFFFFF
AAA
1.55:1
Text on #000000
FAIL
12.96:1
Text on #F8FAFC
AAA
1.32:1
Text on #0F172A
FAIL

CSS Implementation

.bg-color { background-color: #24246D; }
.text-color { color: #24246D; }
.border-color { border: 2px solid #24246D; }

Similar Colors

Midnightblue
#191970