#314abc
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 | #314abc | |
| RGB | rgb(49 74 188) | |
| HSL | hsl(229.21 58.65% 46.47%) | |
| OKLCH | oklch(0.46 0.18 268.67) | |
| CMYK | cmyk(73.94% 60.64% 0% 26.27%) | |
| Android | #ff314abc |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
7.40:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
2.83: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="#314abc"
Gradient stop
<stop stop-color="#314abc"/>
CSS variable + fill
:root { --c: #314abc; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #314abc; background-color: #314abc; bg-[#314abc]