#398bfa
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 | #398bfa | |
| RGB | rgb(57 139 250) | |
| HSL | hsl(214.51 95.07% 60.2%) | |
| OKLCH | oklch(0.64 0.18 257.17) | |
| CMYK | cmyk(77.2% 44.4% 0% 1.96%) | |
| Android | #ff398bfa |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.36:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
6.24: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="#398bfa"
Gradient stop
<stop stop-color="#398bfa"/>
CSS variable + fill
:root { --c: #398bfa; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #398bfa; background-color: #398bfa; bg-[#398bfa]