Color #7874ac
A muted medium blue.
Conversions
#7874ac
rgb(120, 116, 172)
hsl(244.3, 25.2%, 56.5%)
hsv(244.3, 32.6%, 67.5%)
cmyk(30.2%, 32.6%, 0%, 32.5%)
lab(51.22, 14.59, -29.28)
lch(51.22, 32.71, 296.49)
oklch(58.5%, 0.085, 286.75)
hwb(244.3, 45.5%, 32.5%)
Harmony colors
Accessibility
Black text reads better on this background (4.89:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#7676a1 · ΔE 3.1
Deuteranopia
#77779e · ΔE 4.2
Tritanopia
#789795 · ΔE 25.3
Achromatopsia
#7a7a7a · ΔE 19.8
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #7874ac;
bg-[#7874ac]
Related colors
Frequently asked questions
#7874ac (#7874ac) is rgb(120, 116, 172) in RGB.
No, #7874ac 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 #7874ac, or check how it holds up for accessibility.