#42497C
A dark, moderate blue closely aligning with Darkslateblue.
About #42497C
The hex code #42497C represents a beautifully specific shade of blue. Designers often compare it to the standard color Darkslateblue. Its digital footprint relies on 66 parts red, 73 parts green, and 124 parts blue light.
Translating this color to physical media requires the CMYK color model. Its ink density profile breaks down to 47% cyan, 41% magenta, 0% yellow, and 51% black. The HSL representation is 232.8° hue, 30.5% saturation, and 37.3% lightness.
From a UX and accessibility standpoint, contrast is paramount. Because it is a dark color, it is generally recommended to use #FFFFFF text. You can view the detailed AAA and AA pass/fail metrics in the table below.
Color Space Conversions
HEX#42497C
RGB66, 73, 124
HSL232.8°, 30.5%, 37.3%
CMYK47%, 41%, 0%, 51%
HSV232.8°, 46.8%, 48.6%
LAB32.7, 11.8, -29.9
XYZ8.3, 7.4, 20.1
Decimal4344188
Color Harmonies
Tints, Shades & Tones
Tints (Adding White)
Shades (Adding Black)
WCAG Contrast Accessibility
8.48:1
Text on #FFFFFF
AAA
2.48:1
Text on #000000
FAIL
8.11:1
Text on #F8FAFC
AAA
2.10:1
Text on #0F172A
FAIL
CSS Implementation
.bg-color {
background-color: #42497C;
}
.text-color {
color: #42497C;
}
.border-color {
border: 2px solid #42497C;
}