Color #798e9b
A nearly neutral, gray-leaning medium blue.
Conversions
#798e9b
rgb(121, 142, 155)
hsl(202.9, 14.5%, 54.1%)
hsv(202.9, 21.9%, 60.8%)
cmyk(21.9%, 8.4%, 0%, 39.2%)
lab(57.82, -4.51, -9.38)
lch(57.82, 10.41, 244.32)
oklch(63.5%, 0.031, 235.23)
hwb(202.9, 47.5%, 39.2%)
Harmony colors
Accessibility
Black text reads better on this background (6.16:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#838398 · ΔE 11.7
Deuteranopia
#818097 · ΔE 12.8
Tritanopia
#7a9695 · ΔE 8.4
Achromatopsia
#8b8b8b · ΔE 9.2
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #798e9b;
bg-[#798e9b]
Related colors
Frequently asked questions
#798e9b (#798e9b) is rgb(121, 142, 155) in RGB.
No, #798e9b 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 #798e9b, or check how it holds up for accessibility.