#240649
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 | #240649 | |
| RGB | rgb(36 6 73) | |
| HSL | hsl(266.87 84.81% 15.49%) | |
| OKLCH | oklch(0.23 0.11 296.52) | |
| CMYK | cmyk(50.68% 91.78% 0% 71.37%) | |
| Android | #ff240649 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
17.53:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
1.19: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="#240649"
Gradient stop
<stop stop-color="#240649"/>
CSS variable + fill
:root { --c: #240649; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #240649; background-color: #240649; bg-[#240649]