Hex Color #516AAA - Custom Color

Color Codes

HEX
#516AAA
RGB
rgb(81, 106, 170)
HSL
hsl(223, 35%, 49%)
CMYK
cmyk(52%, 38%, 0%, 33%)
HSV
hsv(223, 52%, 67%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

Contrast Ratio: 3.99: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: #516AAA;
color: #516AAA;
border-color: #516AAA;
}

Tailwind CSS (with arbitrary values)

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