#248fa8
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 | #248fa8 | |
| RGB | rgb(36 143 168) | |
| HSL | hsl(191.36 64.71% 40%) | |
| OKLCH | oklch(0.6 0.1 217.7) | |
| CMYK | cmyk(78.57% 14.88% 0% 34.12%) | |
| Android | #ff248fa8 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.77:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.56: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="#248fa8"
Gradient stop
<stop stop-color="#248fa8"/>
CSS variable + fill
:root { --c: #248fa8; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #248fa8; background-color: #248fa8; bg-[#248fa8]