#264cd8
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 | #264cd8 | |
| RGB | rgb(38 76 216) | |
| HSL | hsl(227.19 70.08% 49.8%) | |
| OKLCH | oklch(0.49 0.22 266.1) | |
| CMYK | cmyk(82.41% 64.81% 0% 15.29%) | |
| Android | #ff264cd8 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
6.75:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.10: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="#264cd8"
Gradient stop
<stop stop-color="#264cd8"/>
CSS variable + fill
:root { --c: #264cd8; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #264cd8; background-color: #264cd8; bg-[#264cd8]