Hex Color #45447E - Custom Color
Color Codes
HEX
#45447E
RGB
rgb(69, 68, 126)
HSL
hsl(241, 30%, 38%)
CMYK
cmyk(45%, 46%, 0%, 51%)
HSV
hsv(241, 46%, 49%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 8.82:1
Pass - WCAG AA (Normal Text)
Pass - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 2.38: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: #45447E;
color: #45447E;
border-color: #45447E;
}
Tailwind CSS (with arbitrary values)
bg-[#45447E]
text-[#45447E]
border-[#45447E]
// Example usage:
<div className="bg-[#45447E]">