Color #315396
A moderately saturated dark blue.
Conversions
#315396
rgb(49, 83, 150)
hsl(219.8, 50.8%, 39%)
hsv(219.8, 67.3%, 58.8%)
cmyk(67.3%, 44.7%, 0%, 41.2%)
lab(36.06, 10.55, -40.49)
lch(36.06, 41.84, 284.6)
oklch(45.2%, 0.1166, 262.46)
hwb(219.8, 19.2%, 41.2%)
Harmony colors
Accessibility
White text reads better on this background (7.48:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#424389 · ΔE 7.9
Deuteranopia
#403e86 · ΔE 9.2
Tritanopia
#337e7c · ΔE 28.3
Achromatopsia
#555555 · ΔE 21.8
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #315396;
bg-[#315396]
Related colors
Frequently asked questions
#315396 (#315396) is rgb(49, 83, 150) in RGB.
No, #315396 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 #315396, or check how it holds up for accessibility.