Hex Color #5C54DF - Custom Color
Color Codes
HEX
#5C54DF
RGB
rgb(92, 84, 223)
HSL
hsl(243, 68%, 60%)
CMYK
cmyk(59%, 62%, 0%, 13%)
HSV
hsv(243, 62%, 87%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 5.54:1
Pass - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 3.79: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: #5C54DF;
color: #5C54DF;
border-color: #5C54DF;
}
Tailwind CSS (with arbitrary values)
bg-[#5C54DF]
text-[#5C54DF]
border-[#5C54DF]
// Example usage:
<div className="bg-[#5C54DF]">