#4b27df
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 | #4b27df | |
| RGB | rgb(75 39 223) | |
| HSL | hsl(251.74 74.19% 51.37%) | |
| OKLCH | oklch(0.46 0.25 279.2) | |
| CMYK | cmyk(66.37% 82.51% 0% 12.55%) | |
| Android | #ff4b27df |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
7.90:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
2.65:1
Fail AA normal text
Fail 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="#4b27df"
Gradient stop
<stop stop-color="#4b27df"/>
CSS variable + fill
:root { --c: #4b27df; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #4b27df; background-color: #4b27df; bg-[#4b27df]