#42707c
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 | #42707c | |
| RGB | rgb(66 112 124) | |
| HSL | hsl(192.41 30.53% 37.25%) | |
| OKLCH | oklch(0.52 0.05 216.32) | |
| CMYK | cmyk(46.77% 9.68% 0% 51.37%) | |
| Android | #ff42707c |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
5.46:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.84:1
Fail AA normal text
Pass 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="#42707c"
Gradient stop
<stop stop-color="#42707c"/>
CSS variable + fill
:root { --c: #42707c; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #42707c; background-color: #42707c; bg-[#42707c]