Hex Color #393973 - Custom Color
Color Codes
HEX
#393973
RGB
rgb(57, 57, 115)
HSL
hsl(240, 34%, 34%)
CMYK
cmyk(50%, 50%, 0%, 55%)
HSV
hsv(240, 50%, 45%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 10.46:1
Pass - WCAG AA (Normal Text)
Pass - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 2.01: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: #393973;
color: #393973;
border-color: #393973;
}
Tailwind CSS (with arbitrary values)
bg-[#393973]
text-[#393973]
border-[#393973]
// Example usage:
<div className="bg-[#393973]">