Color #31294d
A muted dark blue.
Conversions
#31294d
rgb(49, 41, 77)
hsl(253.3, 30.5%, 23.1%)
hsv(253.3, 46.8%, 30.2%)
cmyk(36.4%, 46.8%, 0%, 69.8%)
lab(19.12, 13.36, -20.98)
lch(19.12, 24.87, 302.49)
oklch(30.8%, 0.0638, 292.5)
hwb(253.3, 16.1%, 69.8%)
Harmony colors
Accessibility
White text reads better on this background (13.51:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#2e2e46 · ΔE 5.4
Deuteranopia
#2e2f44 · ΔE 6.9
Tritanopia
#31403f · ΔE 22.1
Achromatopsia
#2e2e2e · ΔE 17.4
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #31294d;
bg-[#31294d]
Related colors
Frequently asked questions
#31294d (#31294d) is rgb(49, 41, 77) in RGB.
No, #31294d 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 #31294d, or check how it holds up for accessibility.