Hex Color #797195 - Custom Color

Color Codes

HEX
#797195
RGB
rgb(121, 113, 149)
HSL
hsl(253, 15%, 51%)
CMYK
cmyk(19%, 24%, 0%, 42%)
HSV
hsv(253, 24%, 58%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

Contrast Ratio: 4.56:1
Pass - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)

Text on Black Background

Sample Text

Contrast Ratio: 4.61: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: #797195;
color: #797195;
border-color: #797195;
}

Tailwind CSS (with arbitrary values)

bg-[#797195]
text-[#797195]
border-[#797195]
// Example usage:
<div className="bg-[#797195]">