Color #312650
A muted dark blue.
Conversions
#312650
rgb(49, 38, 80)
hsl(255.7, 35.6%, 23.1%)
hsv(255.7, 52.5%, 31.4%)
cmyk(38.8%, 52.5%, 0%, 68.6%)
lab(18.45, 16.39, -24.08)
lch(18.45, 29.13, 304.24)
oklch(30.4%, 0.0741, 293.55)
hwb(255.7, 14.9%, 68.6%)
Harmony colors
Accessibility
White text reads better on this background (13.78:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#2d2c48 · ΔE 5.5
Deuteranopia
#2d2e46 · ΔE 7.4
Tritanopia
#314240 · ΔE 23.9
Achromatopsia
#2d2d2d · ΔE 19.1
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #312650;
bg-[#312650]
Related colors
Frequently asked questions
#312650 (#312650) is rgb(49, 38, 80) in RGB.
No, #312650 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 #312650, or check how it holds up for accessibility.