#298bbf
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 | #298bbf | |
| RGB | rgb(41 139 191) | |
| HSL | hsl(200.8 64.66% 45.49%) | |
| OKLCH | oklch(0.61 0.12 237.19) | |
| CMYK | cmyk(78.53% 27.23% 0% 25.1%) | |
| Android | #ff298bbf |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.79:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.53: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="#298bbf"
Gradient stop
<stop stop-color="#298bbf"/>
CSS variable + fill
:root { --c: #298bbf; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #298bbf; background-color: #298bbf; bg-[#298bbf]