#0841af
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 | #0841af | |
| RGB | rgb(8 65 175) | |
| HSL | hsl(219.52 91.26% 35.88%) | |
| OKLCH | oklch(0.42 0.18 262.07) | |
| CMYK | cmyk(95.43% 62.86% 0% 31.37%) | |
| Android | #ff0841af |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
8.80:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
2.38: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="#0841af"
Gradient stop
<stop stop-color="#0841af"/>
CSS variable + fill
:root { --c: #0841af; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #0841af; background-color: #0841af; bg-[#0841af]