Color #314f72
A muted dark blue.
Conversions
#314f72
rgb(49, 79, 114)
hsl(212.3, 39.9%, 32%)
hsv(212.3, 57%, 44.7%)
cmyk(57%, 30.7%, 0%, 55.3%)
lab(32.83, 0.09, -23.47)
lch(32.83, 23.47, 270.22)
oklch(42.1%, 0.069, 253.14)
hwb(212.3, 19.2%, 55.3%)
Harmony colors
Accessibility
White text reads better on this background (8.43:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#40406b · ΔE 10
Deuteranopia
#3e3c69 · ΔE 10.9
Tritanopia
#336563 · ΔE 19.9
Achromatopsia
#4d4d4d · ΔE 15.4
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #314f72;
bg-[#314f72]
Related colors
Frequently asked questions
#314f72 (#314f72) is rgb(49, 79, 114) in RGB.
No, #314f72 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 #314f72, or check how it holds up for accessibility.