#231e5d
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 | #231e5d | |
| RGB | rgb(35 30 93) | |
| HSL | hsl(244.76 51.22% 24.12%) | |
| OKLCH | oklch(0.28 0.11 280.56) | |
| CMYK | cmyk(62.37% 67.74% 0% 63.53%) | |
| Android | #ff231e5d |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
14.83:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
1.41: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="#231e5d"
Gradient stop
<stop stop-color="#231e5d"/>
CSS variable + fill
:root { --c: #231e5d; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #231e5d; background-color: #231e5d; bg-[#231e5d]