Hex Color #5476AF - Custom Color
Color Codes
HEX
#5476AF
RGB
rgb(84, 118, 175)
HSL
hsl(218, 36%, 51%)
CMYK
cmyk(52%, 33%, 0%, 31%)
HSV
hsv(218, 52%, 69%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 4.58:1
Pass - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 4.59: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: #5476AF;
color: #5476AF;
border-color: #5476AF;
}
Tailwind CSS (with arbitrary values)
bg-[#5476AF]
text-[#5476AF]
border-[#5476AF]
// Example usage:
<div className="bg-[#5476AF]">