#1d5aba
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 | #1d5aba | |
| RGB | rgb(29 90 186) | |
| HSL | hsl(216.69 73.02% 42.16%) | |
| OKLCH | oklch(0.49 0.16 259.6) | |
| CMYK | cmyk(84.41% 51.61% 0% 27.06%) | |
| Android | #ff1d5aba |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
6.51:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.22: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="#1d5aba"
Gradient stop
<stop stop-color="#1d5aba"/>
CSS variable + fill
:root { --c: #1d5aba; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #1d5aba; background-color: #1d5aba; bg-[#1d5aba]