#0d41cf
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 | #0d41cf | |
| RGB | rgb(13 65 207) | |
| HSL | hsl(223.92 88.18% 43.14%) | |
| OKLCH | oklch(0.45 0.22 263.85) | |
| CMYK | cmyk(93.72% 68.6% 0% 18.82%) | |
| Android | #ff0d41cf |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
7.85:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
2.67: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="#0d41cf"
Gradient stop
<stop stop-color="#0d41cf"/>
CSS variable + fill
:root { --c: #0d41cf; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #0d41cf; background-color: #0d41cf; bg-[#0d41cf]