Hex Color #302955 - Custom Color
Color Codes
HEX
#302955
RGB
rgb(48, 41, 85)
HSL
hsl(250, 35%, 25%)
CMYK
cmyk(44%, 52%, 0%, 67%)
HSV
hsv(250, 52%, 33%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 13.34:1
Pass - WCAG AA (Normal Text)
Pass - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 1.57: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: #302955;
color: #302955;
border-color: #302955;
}
Tailwind CSS (with arbitrary values)
bg-[#302955]
text-[#302955]
border-[#302955]
// Example usage:
<div className="bg-[#302955]">