#2237db
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 | #2237db | |
| RGB | rgb(34 55 219) | |
| HSL | hsl(233.19 73.12% 49.61%) | |
| OKLCH | oklch(0.46 0.24 267.47) | |
| CMYK | cmyk(84.47% 74.89% 0% 14.12%) | |
| Android | #ff2237db |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
7.96:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
2.63:1
Fail AA normal text
Fail 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="#2237db"
Gradient stop
<stop stop-color="#2237db"/>
CSS variable + fill
:root { --c: #2237db; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #2237db; background-color: #2237db; bg-[#2237db]