#242fc5
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 | #242fc5 | |
| RGB | rgb(36 47 197) | |
| HSL | hsl(235.9 69.1% 45.69%) | |
| OKLCH | oklch(0.42 0.22 268.99) | |
| CMYK | cmyk(81.73% 76.14% 0% 22.75%) | |
| Android | #ff242fc5 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
9.17:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
2.28: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="#242fc5"
Gradient stop
<stop stop-color="#242fc5"/>
CSS variable + fill
:root { --c: #242fc5; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #242fc5; background-color: #242fc5; bg-[#242fc5]