#2f55ed
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 | #2f55ed | |
| RGB | rgb(47 85 237) | |
| HSL | hsl(228 84.07% 55.69%) | |
| OKLCH | oklch(0.53 0.23 266.73) | |
| CMYK | cmyk(80.17% 64.14% 0% 7.06%) | |
| Android | #ff2f55ed |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
5.76:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.64: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="#2f55ed"
Gradient stop
<stop stop-color="#2f55ed"/>
CSS variable + fill
:root { --c: #2f55ed; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #2f55ed; background-color: #2f55ed; bg-[#2f55ed]