#157fab
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 | #157fab | |
| RGB | rgb(21 127 171) | |
| HSL | hsl(197.6 78.13% 37.65%) | |
| OKLCH | oklch(0.56 0.11 232.94) | |
| CMYK | cmyk(87.72% 25.73% 0% 32.94%) | |
| Android | #ff157fab |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.51:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.65:1
Pass AA normal text
Pass AA large text
On black #000000 · Best text #000000
Shades & tints
OKLCH lightness, mixed toward white then black.
Harmonies
Complementary
Analogous
Triadic
Color-blindness
Normal
Protanopia
Deuteranopia
Tritanopia
SVG snippets
fill
fill="#157fab"
Gradient stop
<stop stop-color="#157fab"/>
CSS variable + fill
:root { --c: #157fab; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #157fab; background-color: #157fab; bg-[#157fab]