#0F338A

A dark, vivid blue closely aligning with Darkslateblue.

About #0F338A

The hex code #0F338A represents a beautifully specific shade of blue. Its closest recognized web color is Darkslateblue. Its digital footprint relies on 15 parts red, 51 parts green, and 138 parts blue light.

When sending designs containing this color to a printer, the CMYK values come into play. Its ink density profile breaks down to 89% cyan, 63% magenta, 0% yellow, and 46% black. This makes it a relatively light color when applied to physical surfaces.

Ensuring your text is legible against this background is a key part of web design. 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#0F338A
RGB15, 51, 138
HSL222.4°, 80.4%, 30.0%
CMYK89%, 63%, 0%, 46%
HSV222.4°, 89.1%, 54.1%
LAB24.7, 23.5, -51.7
XYZ6.0, 4.3, 24.6
Decimal996234

Color Harmonies

Complementary

Analogous

Triadic

Tints, Shades & Tones

Tints (Adding White)

Shades (Adding Black)

WCAG Contrast Accessibility

11.29:1
Text on #FFFFFF
AAA
1.86:1
Text on #000000
FAIL
10.79:1
Text on #F8FAFC
AAA
1.58:1
Text on #0F172A
FAIL

CSS Implementation

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

Similar Colors

Darkslateblue
#483D8B