#240FAF

A dark, vivid blue closely aligning with Darkblue.

About #240FAF

When working with digital screens, the color #240FAF is rendered by mixing light. Its closest recognized web color is Darkblue. In the RGB color space, it consists of 36 red, 15 green, and 175 blue.

While screens use RGB, printing presses rely on Cyan, Magenta, Yellow, and Key (black). This specific hue requires a mix of 79% C, 91% M, 0% Y, and 31% K. This makes it a relatively light color when applied to physical surfaces.

Web Content Accessibility Guidelines (WCAG) dictate how we should use this color. To prevent eye strain, #FFFFFF text pairs best with this hex code. Be sure to check our contrast matrix below to see exactly how it performs against common backgrounds.

Color Space Conversions

HEX#240FAF
RGB36, 15, 175
HSL247.9°, 84.2%, 37.3%
CMYK79%, 91%, 0%, 31%
HSV247.9°, 91.4%, 68.6%
LAB23.0, 56.5, -76.9
XYZ8.6, 3.8, 40.8
Decimal2363311

Color Harmonies

Complementary

Analogous

Triadic

Tints, Shades & Tones

Tints (Adding White)

Shades (Adding Black)

WCAG Contrast Accessibility

11.92:1
Text on #FFFFFF
AAA
1.76:1
Text on #000000
FAIL
11.39:1
Text on #F8FAFC
AAA
1.50:1
Text on #0F172A
FAIL

CSS Implementation

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

Similar Colors

Darkblue
#00008B