#535ef7
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 | #535ef7 | |
| RGB | rgb(83 94 247) | |
| HSL | hsl(235.98 91.11% 64.71%) | |
| OKLCH | oklch(0.57 0.22 273.58) | |
| CMYK | cmyk(66.4% 61.94% 0% 3.14%) | |
| Android | #ff535ef7 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.87:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.31: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="#535ef7"
Gradient stop
<stop stop-color="#535ef7"/>
CSS variable + fill
:root { --c: #535ef7; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #535ef7; background-color: #535ef7; bg-[#535ef7]