#hexpedia

Closest to Dark Slate Gray

#1F3B4D

Color conversions

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

FormatValueCopy
HEX1F3B4D
HEX with ##1F3B4D
RGBrgb(31, 59, 77)
RGBArgba(31, 59, 77, 1)
HSLhsl(203.48 42.59% 21.18%)
HSLAhsla(203.48, 42.59%, 21.18%, 1)
HSVhsv(203.48, 59.74%, 30.2%)
CMYKcmyk(59.74%, 23.38%, 0%, 69.8%)
OKLCHoklch(33.87% 0.0465 238.42)

Closest named matches

Color modifications

Suggested pairings

Use this color in CSS

Accessibility quick-check

White text

11.73:1

AAA normal

Black text

1.79:1

Decorative only

Reference notes

Dark Slate Gray is the nearest readable name for #1F3B4D, a clear blue with deep value. Its RGB value is 31, 59, 77, while the HSL reading places it around 203 degrees of hue, 43% saturation, and 21% lightness. Its cool temperature makes it easier to place in a palette: warm colors tend to move forward, cool colors tend to recede, and neutral colors depend more heavily on surrounding contrast. For interface work, start with the accessibility table before assigning this color to text, icons, or interactive states; perceived brightness can differ from the raw hex value. Pairing suggestions on this page are generated from hue relationships, so they work as starting points rather than fixed brand or accessibility recommendations. For palette building, start with one strong relationship from the pairing section, then adjust lightness until the hierarchy remains readable at small sizes. It works best in interfaces that need weight, contrast, or a more formal visual register. For stronger contrast, compare it with black and white text and then choose pairings from complementary or split-complementary suggestions.