#231986
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 | #231986 | |
| RGB | rgb(35 25 134) | |
| HSL | hsl(245.5 68.55% 31.18%) | |
| OKLCH | oklch(0.32 0.17 275.16) | |
| CMYK | cmyk(73.88% 81.34% 0% 47.45%) | |
| Android | #ff231986 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
13.50:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
1.55: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="#231986"
Gradient stop
<stop stop-color="#231986"/>
CSS variable + fill
:root { --c: #231986; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #231986; background-color: #231986; bg-[#231986]