#0868cd
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 | #0868cd | |
| RGB | rgb(8 104 205) | |
| HSL | hsl(210.76 92.49% 41.76%) | |
| OKLCH | oklch(0.53 0.18 255.86) | |
| CMYK | cmyk(96.1% 49.27% 0% 19.61%) | |
| Android | #ff0868cd |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
5.42:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.87: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="#0868cd"
Gradient stop
<stop stop-color="#0868cd"/>
CSS variable + fill
:root { --c: #0868cd; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #0868cd; background-color: #0868cd; bg-[#0868cd]