#335799

A medium, moderate blue closely aligning with Darkslateblue.

About #335799

The hex code #335799 represents a beautifully specific shade of blue. If you're using CSS, you might find it aligns closely with Darkslateblue. To achieve this exact tint on a monitor, you would use an RGB mix of 51, 87, and 153.

While screens use RGB, printing presses rely on Cyan, Magenta, Yellow, and Key (black). To reproduce this shade on paper, a printer utilizes 67% cyan and 43% magenta inks. With a hue angle of 218.8 degrees, it sits comfortably in the blue spectrum.

Contrast ratios determine whether this color is safe for typography. The calculated luminance score dictates that #FFFFFF typography is the safest choice. Be sure to check our contrast matrix below to see exactly how it performs against common backgrounds.

Color Space Conversions

HEX#335799
RGB51, 87, 153
HSL218.8°, 50.0%, 40.0%
CMYK67%, 43%, 0%, 40%
HSV218.8°, 66.7%, 60.0%
LAB37.5, 9.4, -40.0
XYZ10.5, 9.8, 31.5
Decimal3364761

Color Harmonies

Complementary

Analogous

Triadic

Tints, Shades & Tones

Tints (Adding White)

Shades (Adding Black)

WCAG Contrast Accessibility

7.08:1
Text on #FFFFFF
AAA
2.96:1
Text on #000000
FAIL
6.77:1
Text on #F8FAFC
AA
2.52:1
Text on #0F172A
FAIL

CSS Implementation

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

Similar Colors

Darkslateblue
#483D8B