#335FA8

A medium, moderate blue closely aligning with Darkslateblue.

About #335FA8

The precise color #335FA8 is an excellent choice for modern design projects. Designers often compare it to the standard color Darkslateblue. In the RGB color space, it consists of 51 red, 95 green, and 168 blue.

Translating this color to physical media requires the CMYK color model. This specific hue requires a mix of 70% C, 43% M, 0% Y, and 34% K. With a hue angle of 217.4 degrees, it sits comfortably in the blue spectrum.

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. Strict adherence to these ratios protects visually impaired users from unreadable interfaces.

Color Space Conversions

HEX#335FA8
RGB51, 95, 168
HSL217.4°, 53.4%, 42.9%
CMYK70%, 43%, 0%, 34%
HSV217.4°, 69.6%, 65.9%
LAB40.8, 9.8, -43.7
XYZ12.5, 11.7, 38.6
Decimal3366824

Color Harmonies

Complementary

Analogous

Triadic

Tints, Shades & Tones

Tints (Adding White)

Shades (Adding Black)

WCAG Contrast Accessibility

6.28:1
Text on #FFFFFF
AA
3.34:1
Text on #000000
AA Large
6.00:1
Text on #F8FAFC
AA
2.84:1
Text on #0F172A
FAIL

CSS Implementation

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

Similar Colors

Darkslateblue
#483D8B