Color #7f8ec0
A muted light blue.
Conversions
#7f8ec0
rgb(127, 142, 192)
hsl(226.2, 34%, 62.5%)
hsv(226.2, 33.9%, 75.3%)
cmyk(33.9%, 26%, 0%, 24.7%)
lab(59.58, 6.66, -27.73)
lch(59.58, 28.52, 283.51)
oklch(65.4%, 0.0769, 271.27)
hwb(226.2, 49.8%, 24.7%)
Harmony colors
Accessibility
Black text reads better on this background (6.53:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#8686b6 · ΔE 5
Deuteranopia
#8584b3 · ΔE 5.7
Tritanopia
#80adab · ΔE 23.3
Achromatopsia
#8f8f8f · ΔE 17.7
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #7f8ec0;
bg-[#7f8ec0]
Related colors
Frequently asked questions
#7f8ec0 (#7f8ec0) is rgb(127, 142, 192) in RGB.
No, #7f8ec0 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 #7f8ec0, or check how it holds up for accessibility.