Hex Color #524DCD - Custom Color
Color Codes
HEX
#524DCD
RGB
rgb(82, 77, 205)
HSL
hsl(242, 56%, 55%)
CMYK
cmyk(60%, 62%, 0%, 20%)
HSV
hsv(242, 62%, 80%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 6.36:1
Pass - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 3.30:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Recommended Text Color
For best readability on this background color, use white text.
Similar Colors
Color in Use
Card with colored border
Background with 20% opacity
CSS Code
.element {
background-color: #524DCD;
color: #524DCD;
border-color: #524DCD;
}
Tailwind CSS (with arbitrary values)
bg-[#524DCD]
text-[#524DCD]
border-[#524DCD]
// Example usage:
<div className="bg-[#524DCD]">