#314fff
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 | #314fff | |
| RGB | rgb(49 79 255) | |
| HSL | hsl(231.26 100% 59.61%) | |
| OKLCH | oklch(0.53 0.26 267.73) | |
| CMYK | cmyk(80.78% 69.02% 0% 0%) | |
| Android | #ff314fff |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
5.68:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.69: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="#314fff"
Gradient stop
<stop stop-color="#314fff"/>
CSS variable + fill
:root { --c: #314fff; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #314fff; background-color: #314fff; bg-[#314fff]