#318efa
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 | #318efa | |
| RGB | rgb(49 142 250) | |
| HSL | hsl(212.24 95.26% 58.63%) | |
| OKLCH | oklch(0.65 0.18 255) | |
| CMYK | cmyk(80.4% 43.2% 0% 1.96%) | |
| Android | #ff318efa |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.29:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
6.38: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="#318efa"
Gradient stop
<stop stop-color="#318efa"/>
CSS variable + fill
:root { --c: #318efa; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #318efa; background-color: #318efa; bg-[#318efa]