Color #787ba8
A muted medium blue.
Conversions
#787ba8
rgb(120, 123, 168)
hsl(236.3, 21.6%, 56.5%)
hsv(236.3, 28.6%, 65.9%)
cmyk(28.6%, 26.8%, 0%, 34.1%)
lab(52.93, 9.38, -24.31)
lch(52.93, 26.06, 291.1)
oklch(59.8%, 0.0685, 281.11)
hwb(236.3, 47.1%, 34.1%)
Harmony colors
Accessibility
Black text reads better on this background (5.2:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#79799f · ΔE 2.4
Deuteranopia
#79799c · ΔE 3.2
Tritanopia
#789795 · ΔE 23.4
Achromatopsia
#7e7e7e · ΔE 17.1
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #787ba8;
bg-[#787ba8]
Related colors
Frequently asked questions
#787ba8 (#787ba8) is rgb(120, 123, 168) in RGB.
No, #787ba8 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 #787ba8, or check how it holds up for accessibility.