Hex Color #5087CB - Custom Color

Color Codes

HEX
#5087CB
RGB
rgb(80, 135, 203)
HSL
hsl(213, 54%, 55%)
CMYK
cmyk(61%, 33%, 0%, 20%)
HSV
hsv(213, 61%, 80%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

Contrast Ratio: 5.67: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: #5087CB;
color: #5087CB;
border-color: #5087CB;
}

Tailwind CSS (with arbitrary values)

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