#0F0057

A very dark, vivid blue closely aligning with Midnightblue.

About #0F0057

At its core, #0F0057 is a very dark and vivid hue. It is closely associated with the named CSS color Midnightblue. In the RGB color space, it consists of 15 red, 0 green, and 87 blue.

If you are designing for print, the four-color process is what matters most. This specific hue requires a mix of 83% C, 100% M, 0% Y, and 66% K. Always request a physical proof before doing a large print run with this exact code.

Ensuring your text is legible against this background is a key part of web design. 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#0F0057
RGB15, 0, 87
HSL250.3°, 100.0%, 17.1%
CMYK83%, 100%, 0%, 66%
HSV250.3°, 100.0%, 34.1%
LAB7.1, 36.4, -47.5
XYZ1.9, 0.8, 9.1
Decimal983127

Color Harmonies

Complementary

Analogous

Triadic

Tints, Shades & Tones

Tints (Adding White)

Shades (Adding Black)

WCAG Contrast Accessibility

18.14:1
Text on #FFFFFF
AAA
1.16:1
Text on #000000
FAIL
17.33:1
Text on #F8FAFC
AAA
1.02:1
Text on #0F172A
FAIL

CSS Implementation

.bg-color { background-color: #0F0057; }
.text-color { color: #0F0057; }
.border-color { border: 2px solid #0F0057; }

Similar Colors

Midnightblue
#191970