Hex Color #81829E - Custom Color
Color Codes
HEX
#81829E
RGB
rgb(129, 130, 158)
HSL
hsl(238, 13%, 56%)
CMYK
cmyk(18%, 18%, 0%, 38%)
HSV
hsv(238, 18%, 62%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 3.74:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 5.62: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: #81829E;
color: #81829E;
border-color: #81829E;
}
Tailwind CSS (with arbitrary values)
bg-[#81829E]
text-[#81829E]
border-[#81829E]
// Example usage:
<div className="bg-[#81829E]">