Color #6a5e87
A muted medium blue.
Conversions
#6a5e87
rgb(106, 94, 135)
hsl(257.6, 17.9%, 44.9%)
hsv(257.6, 30.4%, 52.9%)
cmyk(21.5%, 30.4%, 0%, 47.1%)
lab(42.49, 13.94, -21.03)
lch(42.49, 25.23, 303.54)
oklch(51%, 0.0653, 297.43)
hwb(257.6, 36.9%, 47.1%)
Harmony colors
Accessibility
White text reads better on this background (5.89:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#65657f · ΔE 6.5
Deuteranopia
#66677c · ΔE 8.5
Tritanopia
#697776 · ΔE 22
Achromatopsia
#646464 · ΔE 17.6
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #6a5e87;
bg-[#6a5e87]
Related colors
Frequently asked questions
#6a5e87 (#6a5e87) is rgb(106, 94, 135) in RGB.
No, #6a5e87 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 #6a5e87, or check how it holds up for accessibility.