#335FB6

A medium, moderate blue closely aligning with Darkslateblue.

About #335FB6

The hex code #335FB6 represents a beautifully specific shade of blue. It is closely associated with the named CSS color Darkslateblue. In the RGB color space, it consists of 51 red, 95 green, and 182 blue.

Translating this color to physical media requires the CMYK color model. The color uses 72% Cyan, 48% Magenta, 0% Yellow, and 29% Black. Always request a physical proof before doing a large print run with this exact code.

When using this color as a background, text legibility must be considered. Mathematical luminance calculations suggest that #FFFFFF text provides the most optimal reading experience. You can view the detailed AAA and AA pass/fail metrics in the table below.

Color Space Conversions

HEX#335FB6
RGB51, 95, 182
HSL219.8°, 56.2%, 45.7%
CMYK72%, 48%, 0%, 29%
HSV219.8°, 72.0%, 71.4%
LAB41.6, 15.0, -50.6
XYZ13.9, 12.3, 45.9
Decimal3366838

Color Harmonies

Complementary

Analogous

Triadic

Tints, Shades & Tones

Tints (Adding White)

Shades (Adding Black)

WCAG Contrast Accessibility

6.08:1
Text on #FFFFFF
AA
3.45:1
Text on #000000
AA Large
5.81:1
Text on #F8FAFC
AA
2.94:1
Text on #0F172A
FAIL

CSS Implementation

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

Similar Colors

Darkslateblue
#483D8B