Color #798197
A nearly neutral, gray-leaning medium blue.
Conversions
#798197
rgb(121, 129, 151)
hsl(224, 12.6%, 53.3%)
hsv(224, 19.9%, 59.2%)
cmyk(19.9%, 14.6%, 0%, 40.8%)
lab(54.03, 1.96, -12.78)
lch(54.03, 12.93, 278.72)
oklch(60.4%, 0.0348, 269.51)
hwb(224, 47.5%, 40.8%)
Harmony colors
Accessibility
Black text reads better on this background (5.4:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#7d7d92 · ΔE 3.8
Deuteranopia
#7c7b91 · ΔE 4.6
Tritanopia
#798e8d · ΔE 14.2
Achromatopsia
#818181 · ΔE 10.1
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #798197;
bg-[#798197]
Related colors
Frequently asked questions
#798197 (#798197) is rgb(121, 129, 151) in RGB.
No, #798197 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 #798197, or check how it holds up for accessibility.