Color #787fb3
A muted medium blue.
Conversions
#787fb3
rgb(120, 127, 179)
hsl(232.9, 28%, 58.6%)
hsv(232.9, 33%, 70.2%)
cmyk(33%, 29.1%, 0%, 29.8%)
lab(54.48, 9.91, -28.27)
lch(54.48, 29.96, 289.32)
oklch(61.1%, 0.0793, 277.91)
hwb(232.9, 47.1%, 29.8%)
Harmony colors
Accessibility
Black text reads better on this background (5.49:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#7b7ba8 · ΔE 3.3
Deuteranopia
#7b7aa6 · ΔE 3.8
Tritanopia
#789f9d · ΔE 24.4
Achromatopsia
#828282 · ΔE 18.5
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #787fb3;
bg-[#787fb3]
Related colors
Frequently asked questions
#787fb3 (#787fb3) is rgb(120, 127, 179) in RGB.
No, #787fb3 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 #787fb3, or check how it holds up for accessibility.