#hexpedia

Closest to Slate Blue

#1E40AF

Color conversions

Reference values for common CSS, design, and accessibility formats.

FormatValueCopy
HEX1E40AF
HEX with ##1E40AF
RGBrgb(30, 64, 175)
RGBArgba(30, 64, 175, 1)
HSLhsl(225.93 70.73% 40.2%)
HSLAhsla(225.93, 70.73%, 40.2%, 1)
HSVhsv(225.93, 82.86%, 68.63%)
CMYKcmyk(82.86%, 63.43%, 0%, 31.37%)
OKLCHoklch(42.44% 0.1809 265.64)

Closest named matches

Color modifications

Suggested pairings

Use this color in CSS

Accessibility quick-check

White text

8.72:1

AAA normal

Black text

2.41:1

Decorative only

Reference notes

#1E40AF is a balanced, saturated blue color closest to Slate Blue. The color has RGB channels of 30, 64, and 175; in HSL terms, it is centered near 226 degrees with 71% saturation and 40% 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 badges, highlights, product accents, and moments where quick recognition matters. In CSS systems, define it as a custom property first so variations, shadows, and gradients can stay consistent.