#566581
a dark, soft blue · cool · closest name: steelblue
RGB
86, 101, 129
HSL
219°, 20%, 42%
CMYK
33, 22, 0, 49
Luminance
0.1287
Every format
| HEX | #566581 |
| RGB | rgb(86, 101, 129) |
| HSL | hsl(219, 20%, 42%) |
| CMYK | cmyk(33%, 22%, 0%, 49%) |
| LAB | lab(42.6 1.5 -17.4) |
| LCH | lch(42.6 17.5 274.9) |
| OKLCH | oklch(0.505 0.049 262.7) |
Copy-ready code
/* CSS */
color: #566581;
background-color: #566581;
/* Tailwind (arbitrary) */
class="text-[#566581] bg-[#566581]"
/* SCSS */
$brand: #566581;
/* SwiftUI */
Color(red: 0.337, green: 0.396, blue: 0.506)
/* Android */
Color.parseColor("#566581")Accessibility — WCAG contrast
Aa
#566581 on white: 5.88:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#566581 on black: 3.57:1
AA ✗ fail · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red33.7%
Green39.6%
Blue50.6%
CMYK percentages
Cyan33.3%
Magenta21.7%
Yellow0.0%
Key (black)49.4%
Color previews
#566581 text on a black background
contrast 3.57:1
Card sample
#566581 text on a white background
contrast 5.88:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #566581;
Background color
Panel with #566581 background
background-color: #566581;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #566581;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(86, 101, 129, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(86, 101, 129, 0.45);
Border & gradient
Gradient panel
border: 3px solid #566581; background: linear-gradient(135deg, #566581, #645681);