Color #6242b5
A moderately saturated medium blue.
Conversions
#6242b5
rgb(98, 66, 181)
hsl(256.7, 46.6%, 48.4%)
hsv(256.7, 63.5%, 71%)
cmyk(45.9%, 63.5%, 0%, 29%)
lab(37.53, 41.38, -56.45)
lch(37.53, 69.99, 306.24)
oklch(47.9%, 0.1732, 291.26)
hwb(256.7, 25.9%, 29%)
Harmony colors
Accessibility
White text reads better on this background (7.08:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#5656a2 · ΔE 7.9
Deuteranopia
#585a9e · ΔE 9.4
Tritanopia
#61928e · ΔE 35.9
Achromatopsia
#585858 · ΔE 27.3
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #6242b5;
bg-[#6242b5]
Related colors
Frequently asked questions
#6242b5 (#6242b5) is rgb(98, 66, 181) in RGB.
No, #6242b5 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 #6242b5, or check how it holds up for accessibility.