#150ca5
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 | #150ca5 | |
| RGB | rgb(21 12 165) | |
| HSL | hsl(243.53 86.44% 34.71%) | |
| OKLCH | oklch(0.34 0.22 268.09) | |
| CMYK | cmyk(87.27% 92.73% 0% 35.29%) | |
| Android | #ff150ca5 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
12.90:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
1.62: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="#150ca5"
Gradient stop
<stop stop-color="#150ca5"/>
CSS variable + fill
:root { --c: #150ca5; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #150ca5; background-color: #150ca5; bg-[#150ca5]