#316ece
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 | #316ece | |
| RGB | rgb(49 110 206) | |
| HSL | hsl(216.69 61.57% 50%) | |
| OKLCH | oklch(0.55 0.16 259.29) | |
| CMYK | cmyk(76.21% 46.6% 0% 19.22%) | |
| Android | #ff316ece |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.93:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.25: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="#316ece"
Gradient stop
<stop stop-color="#316ece"/>
CSS variable + fill
:root { --c: #316ece; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #316ece; background-color: #316ece; bg-[#316ece]