#335FAF

A medium, moderate blue closely aligning with Darkslateblue.

About #335FAF

When working with digital screens, the color #335FAF is rendered by mixing light. It is closely associated with the named CSS color Darkslateblue. To achieve this exact tint on a monitor, you would use an RGB mix of 51, 95, and 175.

When sending designs containing this color to a printer, the CMYK values come into play. This specific hue requires a mix of 71% C, 46% M, 0% Y, and 31% K. Always request a physical proof before doing a large print run with this exact code.

Contrast ratios determine whether this color is safe for typography. Because it is a medium color, it is generally recommended to use #FFFFFF text. You can view the detailed AAA and AA pass/fail metrics in the table below.

Color Space Conversions

HEX#335FAF
RGB51, 95, 175
HSL218.7°, 54.9%, 44.3%
CMYK71%, 46%, 0%, 31%
HSV218.7°, 70.9%, 68.6%
LAB41.2, 12.4, -47.2
XYZ13.2, 12.0, 42.2
Decimal3366831

Color Harmonies

Complementary

Analogous

Triadic

Tints, Shades & Tones

Tints (Adding White)

Shades (Adding Black)

WCAG Contrast Accessibility

6.18:1
Text on #FFFFFF
AA
3.40:1
Text on #000000
AA Large
5.91:1
Text on #F8FAFC
AA
2.89:1
Text on #0F172A
FAIL

CSS Implementation

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

Similar Colors

Darkslateblue
#483D8B