#010d8d
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 | #010d8d | |
| RGB | rgb(1 13 141) | |
| HSL | hsl(234.86 98.59% 27.84%) | |
| OKLCH | oklch(0.3 0.19 264.43) | |
| CMYK | cmyk(99.29% 90.78% 0% 44.71%) | |
| Android | #ff010d8d |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
14.54:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
1.44: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="#010d8d"
Gradient stop
<stop stop-color="#010d8d"/>
CSS variable + fill
:root { --c: #010d8d; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #010d8d; background-color: #010d8d; bg-[#010d8d]