Color #6845af
A moderately saturated medium blue.
Conversions
#6845af
rgb(104, 69, 175)
hsl(259.8, 43.4%, 47.8%)
hsv(259.8, 60.6%, 68.6%)
cmyk(40.6%, 60.6%, 0%, 31.4%)
lab(38.37, 39.27, -51.53)
lch(38.37, 64.79, 307.31)
oklch(48.5%, 0.1617, 294.87)
hwb(259.8, 27.1%, 31.4%)
Harmony colors
Accessibility
White text reads better on this background (6.87:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#5b5b9d · ΔE 9
Deuteranopia
#5d5f99 · ΔE 10.6
Tritanopia
#678e8a · ΔE 33.6
Achromatopsia
#5a5a5a · ΔE 26.5
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #6845af;
bg-[#6845af]
Related colors
Frequently asked questions
#6845af (#6845af) is rgb(104, 69, 175) in RGB.
No, #6845af 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 #6845af, or check how it holds up for accessibility.