Color #31415b
A muted dark blue.
Conversions
#31415b
rgb(49, 65, 91)
hsl(217.1, 30%, 27.5%)
hsv(217.1, 46.2%, 35.7%)
cmyk(46.2%, 28.6%, 0%, 64.3%)
lab(27.27, 1.41, -17.5)
lch(27.27, 17.56, 274.61)
oklch(37.3%, 0.0496, 259.89)
hwb(217.1, 19.2%, 64.3%)
Harmony colors
Accessibility
White text reads better on this background (10.31:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#393956 · ΔE 7.3
Deuteranopia
#383654 · ΔE 8.3
Tritanopia
#325150 · ΔE 17.1
Achromatopsia
#404040 · ΔE 12.6
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #31415b;
bg-[#31415b]
Related colors
Frequently asked questions
#31415b (#31415b) is rgb(49, 65, 91) in RGB.
No, #31415b 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 #31415b, or check how it holds up for accessibility.