Closest to Dark Slate Blue
#2040A0
Color conversions
Reference values for common CSS, design, and accessibility formats.
| Format | Value | Preview | Copy |
|---|---|---|---|
| HEX | 2040A0 | ||
| HEX with # | #2040A0 | ||
| RGB | rgb(32, 64, 160) | ||
| RGBA | rgba(32, 64, 160, 1) | ||
| HSL | hsl(225 66.67% 37.65%) | ||
| HSLA | hsla(225, 66.67%, 37.65%, 1) | ||
| HSV | hsv(225, 80%, 62.75%) | ||
| CMYK | cmyk(80%, 60%, 0%, 37.25%) | ||
| OKLCH | oklch(41.15% 0.1603 265.56) |
Closest named matches
Color modifications
Lighter shades
Saturation steps
Suggested pairings
Split-complementary
Try this combo as a gradientUse this color in CSS
--color: #2040A0;
bg-[#2040a0]
Accessibility quick-check
White text
9.12:1
AAA normal
Black text
2.3:1
Decorative only
Reference notes
#2040A0 is a balanced, clear blue color closest to Dark Slate Blue. The color has RGB channels of 32, 64, and 160; in HSL terms, it is centered near 225 degrees with 67% saturation and 38% lightness. In a design system, this cool reading is a useful shortcut for deciding whether the color should act as a primary accent, a supporting surface, or a quiet divider. The safest usage pattern is to test it against both light and dark surfaces, then reserve the weaker text pairing for decoration rather than essential labels. If the color feels too forceful at full strength, the lighter, darker, and desaturated variants usually provide a calmer path for production UI. For editorial or product interfaces, reserve the most saturated use for accents and repeat softer variants in borders, labels, or background fills. This makes it useful for backgrounds, supporting UI surfaces, editorial layouts, and restrained visual systems. In CSS systems, define it as a custom property first so variations, shadows, and gradients can stay consistent.