Color #6a7398
A muted medium blue.
Conversions
#6a7398
rgb(106, 115, 152)
hsl(228.3, 18.3%, 50.6%)
hsv(228.3, 30.3%, 59.6%)
cmyk(30.3%, 24.3%, 0%, 40.4%)
lab(49, 5.58, -21.13)
lch(49, 21.85, 284.79)
oklch(56.2%, 0.0584, 273.83)
hwb(228.3, 41.6%, 40.4%)
Harmony colors
Accessibility
White text reads better on this background (4.65:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#6e6e90 · ΔE 3.7
Deuteranopia
#6d6d8e · ΔE 4
Tritanopia
#6a8a88 · ΔE 21.3
Achromatopsia
#747474 · ΔE 15
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #6a7398;
bg-[#6a7398]
Related colors
Frequently asked questions
#6a7398 (#6a7398) is rgb(106, 115, 152) in RGB.
No, #6a7398 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 #6a7398, or check how it holds up for accessibility.