#226dcd
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 | #226dcd | |
| RGB | rgb(34 109 205) | |
| HSL | hsl(213.68 71.55% 46.86%) | |
| OKLCH | oklch(0.54 0.17 256.78) | |
| CMYK | cmyk(83.41% 46.83% 0% 19.61%) | |
| Android | #ff226dcd |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
5.07:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.13: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="#226dcd"
Gradient stop
<stop stop-color="#226dcd"/>
CSS variable + fill
:root { --c: #226dcd; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #226dcd; background-color: #226dcd; bg-[#226dcd]