#00338A
A dark, vivid blue closely aligning with Darkslateblue.
About #00338A
At its core, #00338A is a dark and vivid hue. Designers often compare it to the standard color Darkslateblue. In the RGB color space, it consists of 0 red, 51 green, and 138 blue.
Translating this color to physical media requires the CMYK color model. This specific hue requires a mix of 100% C, 63% M, 0% Y, and 46% K. With a hue angle of 217.8 degrees, it sits comfortably in the blue spectrum.
Ensuring your text is legible against this background is a key part of web design. To prevent eye strain, #FFFFFF text pairs best with this hex code. Be sure to check our contrast matrix below to see exactly how it performs against common backgrounds.
Color Space Conversions
HEX#00338A
RGB0, 51, 138
HSL217.8°, 100.0%, 27.1%
CMYK100%, 63%, 0%, 46%
HSV217.8°, 100.0%, 54.1%
LAB24.3, 22.7, -52.2
XYZ5.8, 4.2, 24.6
Decimal13194
Color Harmonies
Tints, Shades & Tones
Tints (Adding White)
Shades (Adding Black)
WCAG Contrast Accessibility
11.41:1
Text on #FFFFFF
AAA
1.84:1
Text on #000000
FAIL
10.91:1
Text on #F8FAFC
AAA
1.56:1
Text on #0F172A
FAIL
CSS Implementation
.bg-color {
background-color: #00338A;
}
.text-color {
color: #00338A;
}
.border-color {
border: 2px solid #00338A;
}