#0f5bbf
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 | #0f5bbf | |
| RGB | rgb(15 91 191) | |
| HSL | hsl(214.09 85.44% 40.39%) | |
| OKLCH | oklch(0.49 0.17 258.17) | |
| CMYK | cmyk(92.15% 52.36% 0% 25.1%) | |
| Android | #ff0f5bbf |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
6.42:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.26: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="#0f5bbf"
Gradient stop
<stop stop-color="#0f5bbf"/>
CSS variable + fill
:root { --c: #0f5bbf; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #0f5bbf; background-color: #0f5bbf; bg-[#0f5bbf]