#51689e
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 | #51689e | |
| RGB | rgb(81 104 158) | |
| HSL | hsl(222.08 32.22% 46.86%) | |
| OKLCH | oklch(0.52 0.09 265.83) | |
| CMYK | cmyk(48.73% 34.18% 0% 38.04%) | |
| Android | #ff51689e |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
5.49:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.82: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="#51689e"
Gradient stop
<stop stop-color="#51689e"/>
CSS variable + fill
:root { --c: #51689e; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #51689e; background-color: #51689e; bg-[#51689e]