#138ecd
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 | #138ecd | |
| RGB | rgb(19 142 205) | |
| HSL | hsl(200.32 83.04% 43.92%) | |
| OKLCH | oklch(0.62 0.14 239.42) | |
| CMYK | cmyk(90.73% 30.73% 0% 19.61%) | |
| Android | #ff138ecd |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.63:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.77: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="#138ecd"
Gradient stop
<stop stop-color="#138ecd"/>
CSS variable + fill
:root { --c: #138ecd; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #138ecd; background-color: #138ecd; bg-[#138ecd]