#0b1985
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 | #0b1985 | |
| RGB | rgb(11 25 133) | |
| HSL | hsl(233.11 84.72% 28.24%) | |
| OKLCH | oklch(0.31 0.17 266.48) | |
| CMYK | cmyk(91.73% 81.2% 0% 47.84%) | |
| Android | #ff0b1985 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
14.07:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
1.49:1
Fail AA normal text
Fail 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="#0b1985"
Gradient stop
<stop stop-color="#0b1985"/>
CSS variable + fill
:root { --c: #0b1985; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #0b1985; background-color: #0b1985; bg-[#0b1985]