#526fea
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 | #526fea | |
| RGB | rgb(82 111 234) | |
| HSL | hsl(228.55 78.35% 61.96%) | |
| OKLCH | oklch(0.59 0.19 269.74) | |
| CMYK | cmyk(64.96% 52.56% 0% 8.24%) | |
| Android | #ff526fea |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.35:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
4.82:1
Pass AA normal text
Pass AA large text
On black #000000 · Best text #000000
Shades & tints
OKLCH lightness, mixed toward white then black.
Harmonies
Complementary
Analogous
Triadic
Color-blindness
Normal
Protanopia
Deuteranopia
Tritanopia
SVG snippets
fill
fill="#526fea"
Gradient stop
<stop stop-color="#526fea"/>
CSS variable + fill
:root { --c: #526fea; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #526fea; background-color: #526fea; bg-[#526fea]