Hex Color #5C74BF - Custom Color
Color Codes
HEX
#5C74BF
RGB
rgb(92, 116, 191)
HSL
hsl(225, 44%, 55%)
CMYK
cmyk(52%, 39%, 0%, 25%)
HSV
hsv(225, 52%, 75%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 4.46:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 4.71:1
Pass - 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: #5C74BF;
color: #5C74BF;
border-color: #5C74BF;
}
Tailwind CSS (with arbitrary values)
bg-[#5C74BF]
text-[#5C74BF]
border-[#5C74BF]
// Example usage:
<div className="bg-[#5C74BF]">