#314ca3
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 | #314ca3 | |
| RGB | rgb(49 76 163) | |
| HSL | hsl(225.79 53.77% 41.57%) | |
| OKLCH | oklch(0.45 0.14 267.3) | |
| CMYK | cmyk(69.94% 53.37% 0% 36.08%) | |
| Android | #ff314ca3 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
7.79:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
2.69: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="#314ca3"
Gradient stop
<stop stop-color="#314ca3"/>
CSS variable + fill
:root { --c: #314ca3; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #314ca3; background-color: #314ca3; bg-[#314ca3]