#286dbf
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 | #286dbf | |
| RGB | rgb(40 109 191) | |
| HSL | hsl(212.58 65.37% 45.29%) | |
| OKLCH | oklch(0.54 0.15 255.1) | |
| CMYK | cmyk(79.06% 42.93% 0% 25.1%) | |
| Android | #ff286dbf |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
5.21:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.02: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="#286dbf"
Gradient stop
<stop stop-color="#286dbf"/>
CSS variable + fill
:root { --c: #286dbf; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #286dbf; background-color: #286dbf; bg-[#286dbf]