Color #313348
A muted dark blue.
Conversions
#313348
rgb(49, 51, 72)
hsl(234.8, 19%, 23.7%)
hsv(234.8, 31.9%, 28.2%)
cmyk(31.9%, 29.2%, 0%, 71.8%)
lab(21.9, 4.85, -13.26)
lch(21.9, 14.12, 290.09)
oklch(32.9%, 0.0373, 279.89)
hwb(234.8, 19.2%, 71.8%)
Harmony colors
Accessibility
White text reads better on this background (12.37:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#323244 · ΔE 1.5
Deuteranopia
#323242 · ΔE 2.3
Tritanopia
#31403f · ΔE 15.9
Achromatopsia
#343434 · ΔE 11.3
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #313348;
bg-[#313348]
Related colors
Frequently asked questions
#313348 (#313348) is rgb(49, 51, 72) in RGB.
No, #313348 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 #313348, or check how it holds up for accessibility.