Color #2d313a
A nearly neutral, gray-leaning dark blue.
Conversions
#2d313a
rgb(45, 49, 58)
hsl(221.5, 12.6%, 20.2%)
hsv(221.5, 22.4%, 22.7%)
cmyk(22.4%, 15.5%, 0%, 77.3%)
lab(20.28, 0.64, -6.27)
lch(20.28, 6.3, 275.83)
oklch(31.3%, 0.017, 266.3)
hwb(221.5, 17.6%, 77.3%)
Harmony colors
Accessibility
White text reads better on this background (13.03:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#2f2f38 · ΔE 2.4
Deuteranopia
#2f2e37 · ΔE 3.1
Tritanopia
#2d3636 · ΔE 7.3
Achromatopsia
#313131 · ΔE 5.6
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #2d313a;
bg-[#2d313a]
Related colors
Frequently asked questions
#2d313a (#2d313a) is rgb(45, 49, 58) in RGB.
No, #2d313a is not one of the 216 web-safe colors — for that, every RGB channel would have to be a multiple of 51.
Related tools
HEX to RGB Converter
Convert any HEX color code to its RGB and HSL equivalents, live, with copy-to-clipboard values.
Try it → AccessibilityContrast Checker
Check the WCAG contrast ratio between any two colors, live, with AA/AAA pass-fail results.
Try it → GeneratorsPalette Generator
Generate complementary, analogous, triadic, split-complementary, tetradic, square, and monochromatic palettes from any base color.
Try it →Build something with this color
Generate a full palette from #2d313a, or check how it holds up for accessibility.