#24167C

A dark, moderate blue closely aligning with Midnightblue.

About #24167C

When working with digital screens, the color #24167C is rendered by mixing light. It is closely associated with the named CSS color Midnightblue. Its digital footprint relies on 36 parts red, 22 parts green, and 124 parts blue light.

If you are designing for print, the four-color process is what matters most. The color uses 71% Cyan, 82% Magenta, 0% Yellow, and 51% Black. Always request a physical proof before doing a large print run with this exact code.

From a UX and accessibility standpoint, contrast is paramount. Mathematical luminance calculations suggest that #FFFFFF text provides the most optimal reading experience. You can view the detailed AAA and AA pass/fail metrics in the table below.

Color Space Conversions

HEX#24167C
RGB36, 22, 124
HSL248.2°, 69.9%, 28.6%
CMYK71%, 82%, 0%, 51%
HSV248.2°, 82.3%, 48.6%
LAB17.5, 38.6, -54.6
XYZ4.7, 2.4, 19.3
Decimal2365052

Color Harmonies

Complementary

Analogous

Triadic

Tints, Shades & Tones

Tints (Adding White)

Shades (Adding Black)

WCAG Contrast Accessibility

14.18:1
Text on #FFFFFF
AAA
1.48:1
Text on #000000
FAIL
13.55:1
Text on #F8FAFC
AAA
1.26:1
Text on #0F172A
FAIL

CSS Implementation

.bg-color { background-color: #24167C; }
.text-color { color: #24167C; }
.border-color { border: 2px solid #24167C; }

Similar Colors

Midnightblue
#191970