#285bc9
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 | #285bc9 | |
| RGB | rgb(40 91 201) | |
| HSL | hsl(220.99 66.8% 47.25%) | |
| OKLCH | oklch(0.5 0.18 262.89) | |
| CMYK | cmyk(80.1% 54.73% 0% 21.18%) | |
| Android | #ff285bc9 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
6.12:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.43: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="#285bc9"
Gradient stop
<stop stop-color="#285bc9"/>
CSS variable + fill
:root { --c: #285bc9; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #285bc9; background-color: #285bc9; bg-[#285bc9]