#254652
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 | #254652 | |
| RGB | rgb(37 70 82) | |
| HSL | hsl(196 37.82% 23.33%) | |
| OKLCH | oklch(0.37 0.04 223.64) | |
| CMYK | cmyk(54.88% 14.63% 0% 67.84%) | |
| Android | #ff254652 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
10.11:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
2.07: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="#254652"
Gradient stop
<stop stop-color="#254652"/>
CSS variable + fill
:root { --c: #254652; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #254652; background-color: #254652; bg-[#254652]