#1f2caa
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 | #1f2caa | |
| RGB | rgb(31 44 170) | |
| HSL | hsl(234.39 69.15% 39.41%) | |
| OKLCH | oklch(0.39 0.2 268.9) | |
| CMYK | cmyk(81.76% 74.12% 0% 33.33%) | |
| Android | #ff1f2caa |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
10.50:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
1.99: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="#1f2caa"
Gradient stop
<stop stop-color="#1f2caa"/>
CSS variable + fill
:root { --c: #1f2caa; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #1f2caa; background-color: #1f2caa; bg-[#1f2caa]