#4c48fd
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 | #4c48fd | |
| RGB | rgb(76 72 253) | |
| HSL | hsl(241.33 97.84% 63.73%) | |
| OKLCH | oklch(0.53 0.26 274.31) | |
| CMYK | cmyk(69.96% 71.54% 0% 0.78%) | |
| Android | #ff4c48fd |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
5.74:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.65: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="#4c48fd"
Gradient stop
<stop stop-color="#4c48fd"/>
CSS variable + fill
:root { --c: #4c48fd; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #4c48fd; background-color: #4c48fd; bg-[#4c48fd]