Color #787eb2
A muted medium blue.
Conversions
#787eb2
rgb(120, 126, 178)
hsl(233.8, 27.4%, 58.4%)
hsv(233.8, 32.6%, 69.8%)
cmyk(32.6%, 29.2%, 0%, 30.2%)
lab(54.16, 10.23, -28.18)
lch(54.16, 29.98, 289.95)
oklch(60.9%, 0.0792, 278.71)
hwb(233.8, 47.1%, 30.2%)
Harmony colors
Accessibility
Black text reads better on this background (5.43:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#7b7ba7 · ΔE 3.1
Deuteranopia
#7a7aa5 · ΔE 3.5
Tritanopia
#789e9c · ΔE 24.5
Achromatopsia
#818181 · ΔE 18.5
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #787eb2;
bg-[#787eb2]
Related colors
Frequently asked questions
#787eb2 (#787eb2) is rgb(120, 126, 178) in RGB.
No, #787eb2 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 #787eb2, or check how it holds up for accessibility.