#122291
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 | #122291 | |
| RGB | rgb(18 34 145) | |
| HSL | hsl(232.44 77.91% 31.96%) | |
| OKLCH | oklch(0.34 0.18 267.19) | |
| CMYK | cmyk(87.59% 76.55% 0% 43.14%) | |
| Android | #ff122291 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
12.62:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
1.66: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="#122291"
Gradient stop
<stop stop-color="#122291"/>
CSS variable + fill
:root { --c: #122291; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #122291; background-color: #122291; bg-[#122291]