#4178ca
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 | #4178ca | |
| RGB | rgb(65 120 202) | |
| HSL | hsl(215.91 56.38% 52.35%) | |
| OKLCH | oklch(0.58 0.14 258.28) | |
| CMYK | cmyk(67.82% 40.59% 0% 20.78%) | |
| Android | #ff4178ca |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.40:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
4.76:1
Pass AA normal text
Pass AA large text
On black #000000 · Best text #000000
Shades & tints
OKLCH lightness, mixed toward white then black.
Harmonies
Complementary
Analogous
Triadic
Color-blindness
Normal
Protanopia
Deuteranopia
Tritanopia
SVG snippets
fill
fill="#4178ca"
Gradient stop
<stop stop-color="#4178ca"/>
CSS variable + fill
:root { --c: #4178ca; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #4178ca; background-color: #4178ca; bg-[#4178ca]