Hex Color #51637A - Custom Color

Color Codes

HEX
#51637A
RGB
rgb(81, 99, 122)
HSL
hsl(214, 20%, 40%)
CMYK
cmyk(34%, 19%, 0%, 52%)
HSV
hsv(214, 34%, 48%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

Contrast Ratio: 3.42: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: #51637A;
color: #51637A;
border-color: #51637A;
}

Tailwind CSS (with arbitrary values)

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