#42567f
Codes, contrast, shades, harmonies and SVG snippets for this color.
- Codes
- Names & lists
- Contrast
- Shades & tints
- Harmonies
- Color-blindness
- SVG snippets
- CSS
- Related colors
Codes
| Format | Value | |
|---|---|---|
| HEX | #42567f | |
| RGB | rgb(66 86 127) | |
| HSL | hsl(220.33 31.61% 37.84%) | |
| OKLCH | oklch(0.46 0.07 263.88) | |
| CMYK | cmyk(48.03% 32.28% 0% 50.2%) | |
| Android | #ff42567f |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
7.31:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
2.86:1
Fail AA normal text
Fail AA large text
On black #000000 · Best text #ffffff
Shades & tints
OKLCH lightness, mixed toward white then black.
Harmonies
Complementary
Analogous
Triadic
Color-blindness
Normal
Protanopia
Deuteranopia
Tritanopia
SVG snippets
fill
fill="#42567f"
Gradient stop
<stop stop-color="#42567f"/>
CSS variable + fill
:root { --c: #42567f; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #42567f; background-color: #42567f; bg-[#42567f]