#00167C
A dark, vivid blue closely aligning with Midnightblue.
About #00167C
The hex code #00167C represents a beautifully specific shade of blue. If you're using CSS, you might find it aligns closely with Midnightblue. In the RGB color space, it consists of 0 red, 22 green, and 124 blue.
Translating this color to physical media requires the CMYK color model. This specific hue requires a mix of 100% C, 82% M, 0% Y, and 51% K. With a hue angle of 229.4 degrees, it sits comfortably in the blue spectrum.
Web Content Accessibility Guidelines (WCAG) dictate how we should use this color. 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#00167C
RGB0, 22, 124
HSL229.4°, 100.0%, 24.3%
CMYK100%, 82%, 0%, 51%
HSV229.4°, 100.0%, 48.6%
LAB15.6, 36.4, -57.7
XYZ3.9, 2.0, 19.3
Decimal5756
Color Harmonies
Tints, Shades & Tones
Tints (Adding White)
Shades (Adding Black)
WCAG Contrast Accessibility
14.94:1
Text on #FFFFFF
AAA
1.41:1
Text on #000000
FAIL
14.28:1
Text on #F8FAFC
AAA
1.20:1
Text on #0F172A
FAIL
CSS Implementation
.bg-color {
background-color: #00167C;
}
.text-color {
color: #00167C;
}
.border-color {
border: 2px solid #00167C;
}