#22366c
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 | #22366c | |
| RGB | rgb(34 54 108) | |
| HSL | hsl(223.78 52.11% 27.84%) | |
| OKLCH | oklch(0.35 0.1 266.18) | |
| CMYK | cmyk(68.52% 50% 0% 57.65%) | |
| Android | #ff22366c |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
11.58:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
1.81: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="#22366c"
Gradient stop
<stop stop-color="#22366c"/>
CSS variable + fill
:root { --c: #22366c; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #22366c; background-color: #22366c; bg-[#22366c]