#238fa5
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 | #238fa5 | |
| RGB | rgb(35 143 165) | |
| HSL | hsl(190.15 65% 39.22%) | |
| OKLCH | oklch(0.6 0.1 215.12) | |
| CMYK | cmyk(78.79% 13.33% 0% 35.29%) | |
| Android | #ff238fa5 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.78:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.54: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="#238fa5"
Gradient stop
<stop stop-color="#238fa5"/>
CSS variable + fill
:root { --c: #238fa5; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #238fa5; background-color: #238fa5; bg-[#238fa5]