Color #8a8ecf
A moderately saturated light blue.
Conversions
#8a8ecf
rgb(138, 142, 207)
hsl(236.5, 41.8%, 67.6%)
hsv(236.5, 33.3%, 81.2%)
cmyk(33.3%, 31.4%, 0%, 18.8%)
lab(61, 13.78, -33.9)
lch(61, 36.59, 292.12)
oklch(66.9%, 0.0961, 280.74)
hwb(236.5, 54.1%, 18.8%)
Harmony colors
Accessibility
Black text reads better on this background (6.85:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#8c8cc2 · ΔE 3
Deuteranopia
#8c8bbe · ΔE 3.9
Tritanopia
#8ab7b4 · ΔE 26.3
Achromatopsia
#939393 · ΔE 20.7
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #8a8ecf;
bg-[#8a8ecf]
Related colors
Frequently asked questions
#8a8ecf (#8a8ecf) is rgb(138, 142, 207) in RGB.
No, #8a8ecf 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 #8a8ecf, or check how it holds up for accessibility.