#335775
A dark, moderate blue closely aligning with Darkslategray.
About #335775
The precise color #335775 is an excellent choice for modern design projects. It is closely associated with the named CSS color Darkslategray. In the RGB color space, it consists of 51 red, 87 green, and 117 blue.
Translating this color to physical media requires the CMYK color model. Its ink density profile breaks down to 56% cyan, 26% magenta, 0% yellow, and 54% black. This makes it a relatively dark color when applied to physical surfaces.
Ensuring your text is legible against this background is a key part of web design. The calculated luminance score dictates that #FFFFFF typography is the safest choice. You can view the detailed AAA and AA pass/fail metrics in the table below.
Color Space Conversions
HEX#335775
RGB51, 87, 117
HSL207.3°, 39.3%, 32.9%
CMYK56%, 26%, 0%, 54%
HSV207.3°, 56.4%, 45.9%
LAB35.6, -3.5, -21.0
XYZ8.0, 8.8, 18.1
Decimal3364725
Color Harmonies
Tints, Shades & Tones
Tints (Adding White)
Shades (Adding Black)
WCAG Contrast Accessibility
7.61:1
Text on #FFFFFF
AAA
2.76:1
Text on #000000
FAIL
7.27:1
Text on #F8FAFC
AAA
2.35:1
Text on #0F172A
FAIL
CSS Implementation
.bg-color {
background-color: #335775;
}
.text-color {
color: #335775;
}
.border-color {
border: 2px solid #335775;
}