#2456ec
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 | #2456ec | |
| RGB | rgb(36 86 236) | |
| HSL | hsl(225 84.03% 53.33%) | |
| OKLCH | oklch(0.52 0.23 264.82) | |
| CMYK | cmyk(84.75% 63.56% 0% 7.45%) | |
| Android | #ff2456ec |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
5.80:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.61: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="#2456ec"
Gradient stop
<stop stop-color="#2456ec"/>
CSS variable + fill
:root { --c: #2456ec; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #2456ec; background-color: #2456ec; bg-[#2456ec]