#24248A

A dark, moderate blue closely aligning with Midnightblue.

About #24248A

When working with digital screens, the color #24248A is rendered by mixing light. If you're using CSS, you might find it aligns closely with Midnightblue. Its digital footprint relies on 36 parts red, 36 parts green, and 138 parts blue light.

While screens use RGB, printing presses rely on Cyan, Magenta, Yellow, and Key (black). Its ink density profile breaks down to 74% cyan, 74% magenta, 0% yellow, and 46% black. The HSL representation is 240.0° hue, 58.6% saturation, and 34.1% lightness.

When using this color as a background, text legibility must be considered. The calculated luminance score dictates that #FFFFFF typography is the safest choice. You can view the detailed AAA and AA pass/fail metrics in the table below.

Color Space Conversions

HEX#24248A
RGB36, 36, 138
HSL240.0°, 58.6%, 34.1%
CMYK74%, 74%, 0%, 46%
HSV240.0°, 73.9%, 54.1%
LAB21.8, 35.4, -56.2
XYZ5.9, 3.5, 24.4
Decimal2368650

Color Harmonies

Complementary

Analogous

Triadic

Tints, Shades & Tones

Tints (Adding White)

Shades (Adding Black)

WCAG Contrast Accessibility

12.39:1
Text on #FFFFFF
AAA
1.69:1
Text on #000000
FAIL
11.85:1
Text on #F8FAFC
AAA
1.44:1
Text on #0F172A
FAIL

CSS Implementation

.bg-color { background-color: #24248A; }
.text-color { color: #24248A; }
.border-color { border: 2px solid #24248A; }

Similar Colors

Midnightblue
#191970