Color #315094
A moderately saturated dark blue.
Conversions
#315094
rgb(49, 80, 148)
hsl(221.2, 50.3%, 38.6%)
hsv(221.2, 66.9%, 58%)
cmyk(66.9%, 45.9%, 0%, 42%)
lab(35.06, 11.79, -40.88)
lch(35.06, 42.55, 286.09)
oklch(44.4%, 0.1175, 263.84)
hwb(221.2, 19.2%, 42%)
Harmony colors
Accessibility
White text reads better on this background (7.76:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#414187 · ΔE 7.4
Deuteranopia
#3f3c84 · ΔE 8.7
Tritanopia
#337c7a · ΔE 28.6
Achromatopsia
#525252 · ΔE 22
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #315094;
bg-[#315094]
Related colors
Frequently asked questions
#315094 (#315094) is rgb(49, 80, 148) in RGB.
No, #315094 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 #315094, or check how it holds up for accessibility.