#00247C
A dark, vivid blue closely aligning with Midnightblue.
About #00247C
When working with digital screens, the color #00247C is rendered by mixing light. It is closely associated with the named CSS color Midnightblue. In the RGB color space, it consists of 0 red, 36 green, and 124 blue.
Translating this color to physical media requires the CMYK color model. This specific hue requires a mix of 100% C, 71% M, 0% Y, and 51% K. The HSL representation is 222.6° hue, 100.0% saturation, and 24.3% lightness.
When using this color as a background, text legibility must be considered. To prevent eye strain, #FFFFFF text pairs best with this hex code. Always test your color combinations using a contrast checker before publishing.
Color Space Conversions
HEX#00247C
RGB0, 36, 124
HSL222.6°, 100.0%, 24.3%
CMYK100%, 71%, 0%, 51%
HSV222.6°, 100.0%, 48.6%
LAB18.9, 27.4, -52.4
XYZ4.3, 2.7, 19.4
Decimal9340
Color Harmonies
Tints, Shades & Tones
Tints (Adding White)
Shades (Adding Black)
WCAG Contrast Accessibility
13.61:1
Text on #FFFFFF
AAA
1.54:1
Text on #000000
FAIL
13.00:1
Text on #F8FAFC
AAA
1.31:1
Text on #0F172A
FAIL
CSS Implementation
.bg-color {
background-color: #00247C;
}
.text-color {
color: #00247C;
}
.border-color {
border: 2px solid #00247C;
}