#154278
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 | #154278 | |
| RGB | rgb(21 66 120) | |
| HSL | hsl(212.73 70.21% 27.65%) | |
| OKLCH | oklch(0.38 0.1 255.29) | |
| CMYK | cmyk(82.5% 45% 0% 52.94%) | |
| Android | #ff154278 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
10.08:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
2.08: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="#154278"
Gradient stop
<stop stop-color="#154278"/>
CSS variable + fill
:root { --c: #154278; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #154278; background-color: #154278; bg-[#154278]