Color #6848b2
A moderately saturated medium blue.
Conversions
#6848b2
rgb(104, 72, 178)
hsl(258.1, 42.4%, 49%)
hsv(258.1, 59.6%, 69.8%)
cmyk(41.6%, 59.6%, 0%, 30.2%)
lab(39.23, 38.37, -51.91)
lch(39.23, 64.55, 306.47)
oklch(49.2%, 0.1612, 293.51)
hwb(258.1, 28.2%, 30.2%)
Harmony colors
Accessibility
White text reads better on this background (6.65:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#5c5ca0 · ΔE 8.3
Deuteranopia
#5e609c · ΔE 9.9
Tritanopia
#67908d · ΔE 33.2
Achromatopsia
#5c5c5c · ΔE 26.5
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #6848b2;
bg-[#6848b2]
Related colors
Frequently asked questions
#6848b2 (#6848b2) is rgb(104, 72, 178) in RGB.
No, #6848b2 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 #6848b2, or check how it holds up for accessibility.