Hex Color #51858E - Custom Color

Color Codes

HEX
#51858E
RGB
rgb(81, 133, 142)
HSL
hsl(189, 27%, 44%)
CMYK
cmyk(43%, 6%, 0%, 44%)
HSV
hsv(189, 43%, 56%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

Contrast Ratio: 5.10: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: #51858E;
color: #51858E;
border-color: #51858E;
}

Tailwind CSS (with arbitrary values)

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