#4247cf
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 | #4247cf | |
| RGB | rgb(66 71 207) | |
| HSL | hsl(237.87 59.49% 53.53%) | |
| OKLCH | oklch(0.48 0.2 274.08) | |
| CMYK | cmyk(68.12% 65.7% 0% 18.82%) | |
| Android | #ff4247cf |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
6.92:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.03:1
Fail AA normal text
Pass 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="#4247cf"
Gradient stop
<stop stop-color="#4247cf"/>
CSS variable + fill
:root { --c: #4247cf; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #4247cf; background-color: #4247cf; bg-[#4247cf]