Color #312b3e
A muted dark blue.
Conversions
#312b3e
rgb(49, 43, 62)
hsl(258.9, 18.1%, 20.6%)
hsv(258.9, 30.6%, 24.3%)
cmyk(21%, 30.6%, 0%, 75.7%)
lab(18.92, 7.49, -11.05)
lch(18.92, 13.35, 304.13)
oklch(30.4%, 0.0346, 298.86)
hwb(258.9, 16.9%, 75.7%)
Harmony colors
Accessibility
White text reads better on this background (13.59:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#2f2e3a · ΔE 4.6
Deuteranopia
#2f2f39 · ΔE 6
Tritanopia
#313736 · ΔE 14.7
Achromatopsia
#2e2e2e · ΔE 11.6
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #312b3e;
bg-[#312b3e]
Related colors
Frequently asked questions
#312b3e (#312b3e) is rgb(49, 43, 62) in RGB.
No, #312b3e 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 #312b3e, or check how it holds up for accessibility.