Hex Color #424789 - Custom Color
Color Codes
HEX
#424789
RGB
rgb(66, 71, 137)
HSL
hsl(236, 35%, 40%)
CMYK
cmyk(52%, 48%, 0%, 46%)
HSV
hsv(236, 52%, 54%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 8.42:1
Pass - WCAG AA (Normal Text)
Pass - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 2.49: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: #424789;
color: #424789;
border-color: #424789;
}
Tailwind CSS (with arbitrary values)
bg-[#424789]
text-[#424789]
border-[#424789]
// Example usage:
<div className="bg-[#424789]">