Hex Color #34295A - Custom Color
Color Codes
HEX
#34295A
RGB
rgb(52, 41, 90)
HSL
hsl(253, 37%, 26%)
CMYK
cmyk(42%, 54%, 0%, 65%)
HSV
hsv(253, 54%, 35%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 13.04:1
Pass - WCAG AA (Normal Text)
Pass - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 1.61: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: #34295A;
color: #34295A;
border-color: #34295A;
}
Tailwind CSS (with arbitrary values)
bg-[#34295A]
text-[#34295A]
border-[#34295A]
// Example usage:
<div className="bg-[#34295A]">