#1c4eae
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 | #1c4eae | |
| RGB | rgb(28 78 174) | |
| HSL | hsl(219.45 72.28% 39.61%) | |
| OKLCH | oklch(0.45 0.16 261.74) | |
| CMYK | cmyk(83.91% 55.17% 0% 31.76%) | |
| Android | #ff1c4eae |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
7.63:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
2.75: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="#1c4eae"
Gradient stop
<stop stop-color="#1c4eae"/>
CSS variable + fill
:root { --c: #1c4eae; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #1c4eae; background-color: #1c4eae; bg-[#1c4eae]