#334299

A medium, moderate blue closely aligning with Darkslateblue.

About #334299

The precise color #334299 is an excellent choice for modern design projects. It is closely associated with the named CSS color Darkslateblue. In the RGB color space, it consists of 51 red, 66 green, and 153 blue.

While screens use RGB, printing presses rely on Cyan, Magenta, Yellow, and Key (black). The color uses 67% Cyan, 57% Magenta, 0% Yellow, and 40% Black. The HSL representation is 231.2° hue, 50.0% saturation, and 40.0% lightness.

When using this color as a background, text legibility must be considered. The calculated luminance score dictates that #FFFFFF typography is the safest choice. Always test your color combinations using a contrast checker before publishing.

Color Space Conversions

HEX#334299
RGB51, 66, 153
HSL231.2°, 50.0%, 40.0%
CMYK67%, 57%, 0%, 40%
HSV231.2°, 66.7%, 60.0%
LAB31.6, 23.3, -49.5
XYZ9.1, 6.9, 31.0
Decimal3359385

Color Harmonies

Complementary

Analogous

Triadic

Tints, Shades & Tones

Tints (Adding White)

Shades (Adding Black)

WCAG Contrast Accessibility

8.82:1
Text on #FFFFFF
AAA
2.38:1
Text on #000000
FAIL
8.43:1
Text on #F8FAFC
AAA
2.02:1
Text on #0F172A
FAIL

CSS Implementation

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

Similar Colors

Darkslateblue
#483D8B