#0f6ddd
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 | #0f6ddd | |
| RGB | rgb(15 109 221) | |
| HSL | hsl(212.62 87.29% 46.27%) | |
| OKLCH | oklch(0.55 0.19 257.17) | |
| CMYK | cmyk(93.21% 50.68% 0% 13.33%) | |
| Android | #ff0f6ddd |
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="#0f6ddd"
Gradient stop
<stop stop-color="#0f6ddd"/>
CSS variable + fill
:root { --c: #0f6ddd; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #0f6ddd; background-color: #0f6ddd; bg-[#0f6ddd]