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