Color #5238cb
A moderately saturated medium blue.
Conversions
#5238cb
rgb(82, 56, 203)
hsl(250.6, 58.6%, 50.8%)
hsv(250.6, 72.4%, 79.6%)
cmyk(59.6%, 72.4%, 0%, 20.4%)
lab(35.85, 50.65, -72.15)
lch(35.85, 88.15, 305.07)
oklch(46.9%, 0.213, 282.53)
hwb(250.6, 22%, 20.4%)
Harmony colors
Accessibility
White text reads better on this background (7.54:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#4848b5 · ΔE 5.6
Deuteranopia
#4a4baf · ΔE 6.8
Tritanopia
#51a19c · ΔE 43.2
Achromatopsia
#545454 · ΔE 29.6
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #5238cb;
bg-[#5238cb]
Related colors
Frequently asked questions
#5238cb (#5238cb) is rgb(82, 56, 203) in RGB.
No, #5238cb 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 #5238cb, or check how it holds up for accessibility.