Color #798b97
A nearly neutral, gray-leaning medium blue.
Conversions
#798b97
rgb(121, 139, 151)
hsl(204, 12.6%, 53.3%)
hsv(204, 19.9%, 59.2%)
cmyk(19.9%, 7.9%, 0%, 40.8%)
lab(56.84, -3.76, -8.55)
lch(56.84, 9.34, 246.26)
oklch(62.6%, 0.0276, 237.12)
hwb(204, 47.5%, 40.8%)
Harmony colors
Accessibility
Black text reads better on this background (5.95:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#818194 · ΔE 10.4
Deuteranopia
#807f94 · ΔE 11.5
Tritanopia
#7a9291 · ΔE 7.9
Achromatopsia
#888888 · ΔE 8.3
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #798b97;
bg-[#798b97]
Related colors
Frequently asked questions
#798b97 (#798b97) is rgb(121, 139, 151) in RGB.
No, #798b97 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 #798b97, or check how it holds up for accessibility.