#42889a
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 | #42889a | |
| RGB | rgb(66 136 154) | |
| HSL | hsl(192.27 40% 43.14%) | |
| OKLCH | oklch(0.59 0.08 216.9) | |
| CMYK | cmyk(57.14% 11.69% 0% 39.61%) | |
| Android | #ff42889a |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.02:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.21:1
Pass AA normal text
Pass AA large text
On black #000000 · Best text #000000
Shades & tints
OKLCH lightness, mixed toward white then black.
Harmonies
Complementary
Analogous
Triadic
Color-blindness
Normal
Protanopia
Deuteranopia
Tritanopia
SVG snippets
fill
fill="#42889a"
Gradient stop
<stop stop-color="#42889a"/>
CSS variable + fill
:root { --c: #42889a; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #42889a; background-color: #42889a; bg-[#42889a]