Hex Color #494866 - Custom Color
Color Codes
HEX
#494866
RGB
rgb(73, 72, 102)
HSL
hsl(242, 17%, 34%)
CMYK
cmyk(28%, 29%, 0%, 60%)
HSV
hsv(242, 29%, 40%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 8.74:1
Pass - WCAG AA (Normal Text)
Pass - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 2.40: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: #494866;
color: #494866;
border-color: #494866;
}
Tailwind CSS (with arbitrary values)
bg-[#494866]
text-[#494866]
border-[#494866]
// Example usage:
<div className="bg-[#494866]">