Color #797098
A muted medium blue.
Conversions
#797098
rgb(121, 112, 152)
hsl(253.5, 16.3%, 51.8%)
hsv(253.5, 26.3%, 59.6%)
cmyk(20.4%, 26.3%, 0%, 40.4%)
lab(49.4, 12.22, -20.41)
lch(49.4, 23.79, 300.91)
oklch(56.9%, 0.0616, 294.65)
hwb(253.5, 43.9%, 40.4%)
Harmony colors
Accessibility
White text reads better on this background (4.58:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#757590 · ΔE 5.3
Deuteranopia
#76768d · ΔE 6.7
Tritanopia
#798987 · ΔE 22.2
Achromatopsia
#757575 · ΔE 16.8
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #797098;
bg-[#797098]
Related colors
Frequently asked questions
#797098 (#797098) is rgb(121, 112, 152) in RGB.
No, #797098 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 #797098, or check how it holds up for accessibility.