#156dcb
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 | #156dcb | |
| RGB | rgb(21 109 203) | |
| HSL | hsl(210.99 81.25% 43.92%) | |
| OKLCH | oklch(0.54 0.17 254.83) | |
| CMYK | cmyk(89.66% 46.31% 0% 20.39%) | |
| Android | #ff156dcb |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
5.14:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.08: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="#156dcb"
Gradient stop
<stop stop-color="#156dcb"/>
CSS variable + fill
:root { --c: #156dcb; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #156dcb; background-color: #156dcb; bg-[#156dcb]