#0f8ddd
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 | #0f8ddd | |
| RGB | rgb(15 141 221) | |
| HSL | hsl(203.3 87.29% 46.27%) | |
| OKLCH | oklch(0.62 0.15 245.47) | |
| CMYK | cmyk(93.21% 36.2% 0% 13.33%) | |
| Android | #ff0f8ddd |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.57:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.87: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="#0f8ddd"
Gradient stop
<stop stop-color="#0f8ddd"/>
CSS variable + fill
:root { --c: #0f8ddd; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #0f8ddd; background-color: #0f8ddd; bg-[#0f8ddd]