#240F6D

A dark, vivid blue closely aligning with Midnightblue.

About #240F6D

When working with digital screens, the color #240F6D is rendered by mixing light. It is closely associated with the named CSS color Midnightblue. This translates to an RGB value of rgb(36, 15, 109).

When sending designs containing this color to a printer, the CMYK values come into play. Its ink density profile breaks down to 67% cyan, 86% magenta, 0% yellow, and 57% black. The HSL representation is 253.4° hue, 75.8% saturation, and 24.3% lightness.

Web Content Accessibility Guidelines (WCAG) dictate how we should use this color. Because it is a dark color, it is generally recommended to use #FFFFFF text. Be sure to check our contrast matrix below to see exactly how it performs against common backgrounds.

Color Space Conversions

HEX#240F6D
RGB36, 15, 109
HSL253.4°, 75.8%, 24.3%
CMYK67%, 86%, 0%, 57%
HSV253.4°, 86.2%, 42.7%
LAB14.5, 37.3, -49.8
XYZ3.7, 1.8, 14.6
Decimal2363245

Color Harmonies

Complementary

Analogous

Triadic

Tints, Shades & Tones

Tints (Adding White)

Shades (Adding Black)

WCAG Contrast Accessibility

15.39:1
Text on #FFFFFF
AAA
1.36:1
Text on #000000
FAIL
14.71:1
Text on #F8FAFC
AAA
1.16:1
Text on #0F172A
FAIL

CSS Implementation

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

Similar Colors

Midnightblue
#191970