Color #7f8acc
A moderately saturated light blue.
Conversions
#7f8acc
rgb(127, 138, 204)
hsl(231.4, 43%, 64.9%)
hsv(231.4, 37.7%, 80%)
cmyk(37.7%, 32.4%, 0%, 20%)
lab(59.02, 12.23, -35.37)
lch(59.02, 37.42, 289.07)
oklch(65.1%, 0.0994, 276.07)
hwb(231.4, 49.8%, 20%)
Harmony colors
Accessibility
Black text reads better on this background (6.41:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#8484bf · ΔE 4
Deuteranopia
#8382bb · ΔE 4.8
Tritanopia
#80b3b1 · ΔE 26.1
Achromatopsia
#8e8e8e · ΔE 20.8
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #7f8acc;
bg-[#7f8acc]
Related colors
Frequently asked questions
#7f8acc (#7f8acc) is rgb(127, 138, 204) in RGB.
No, #7f8acc 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 #7f8acc, or check how it holds up for accessibility.