#227cff
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 | #227cff | |
| RGB | rgb(34 124 255) | |
| HSL | hsl(215.57 100% 56.67%) | |
| OKLCH | oklch(0.61 0.21 258.95) | |
| CMYK | cmyk(86.67% 51.37% 0% 0%) | |
| Android | #ff227cff |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.89:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.39: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="#227cff"
Gradient stop
<stop stop-color="#227cff"/>
CSS variable + fill
:root { --c: #227cff; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #227cff; background-color: #227cff; bg-[#227cff]