Color #313c67
A muted dark blue.
Conversions
#313c67
rgb(49, 60, 103)
hsl(227.8, 35.5%, 29.8%)
hsv(227.8, 52.4%, 40.4%)
cmyk(52.4%, 41.7%, 0%, 59.6%)
lab(26.34, 8.87, -26.69)
lch(26.34, 28.13, 288.38)
oklch(36.8%, 0.0755, 271.44)
hwb(227.8, 19.2%, 59.6%)
Harmony colors
Accessibility
White text reads better on this background (10.64:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#36365f · ΔE 3.7
Deuteranopia
#35355d · ΔE 3.9
Tritanopia
#325856 · ΔE 24
Achromatopsia
#3e3e3e · ΔE 17.8
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #313c67;
bg-[#313c67]
Related colors
Frequently asked questions
#313c67 (#313c67) is rgb(49, 60, 103) in RGB.
No, #313c67 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 #313c67, or check how it holds up for accessibility.