Color #312c4c
A muted dark blue.
Conversions
#312c4c
rgb(49, 44, 76)
hsl(249.4, 26.7%, 23.5%)
hsv(249.4, 42.1%, 29.8%)
cmyk(35.5%, 42.1%, 0%, 70.2%)
lab(19.95, 10.95, -19)
lch(19.95, 21.93, 299.96)
oklch(31.4%, 0.0565, 289.88)
hwb(249.4, 17.3%, 70.2%)
Harmony colors
Accessibility
White text reads better on this background (13.16:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#2f2f46 · ΔE 4.2
Deuteranopia
#2f3044 · ΔE 5.7
Tritanopia
#31403f · ΔE 20.9
Achromatopsia
#303030 · ΔE 16
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #312c4c;
bg-[#312c4c]
Related colors
Frequently asked questions
#312c4c (#312c4c) is rgb(49, 44, 76) in RGB.
No, #312c4c is not web-safe. The nearest web-safe colors are among its tones and shades below.
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 #312c4c, or check how it holds up for accessibility.