#138cc4
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 | #138cc4 | |
| RGB | rgb(19 140 196) | |
| HSL | hsl(198.98 82.33% 42.16%) | |
| OKLCH | oklch(0.61 0.13 236.65) | |
| CMYK | cmyk(90.31% 28.57% 0% 23.14%) | |
| Android | #ff138cc4 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.76:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.57: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="#138cc4"
Gradient stop
<stop stop-color="#138cc4"/>
CSS variable + fill
:root { --c: #138cc4; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #138cc4; background-color: #138cc4; bg-[#138cc4]