#255eab
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 | #255eab | |
| RGB | rgb(37 94 171) | |
| HSL | hsl(214.48 64.42% 40.78%) | |
| OKLCH | oklch(0.49 0.14 257.09) | |
| CMYK | cmyk(78.36% 45.03% 0% 32.94%) | |
| Android | #ff255eab |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
6.42:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.26: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="#255eab"
Gradient stop
<stop stop-color="#255eab"/>
CSS variable + fill
:root { --c: #255eab; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #255eab; background-color: #255eab; bg-[#255eab]