#284dad
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 | #284dad | |
| RGB | rgb(40 77 173) | |
| HSL | hsl(223.31 62.44% 41.76%) | |
| OKLCH | oklch(0.45 0.16 264.76) | |
| CMYK | cmyk(76.88% 55.49% 0% 32.16%) | |
| Android | #ff284dad |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
7.62:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
2.75: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="#284dad"
Gradient stop
<stop stop-color="#284dad"/>
CSS variable + fill
:root { --c: #284dad; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #284dad; background-color: #284dad; bg-[#284dad]