Hex Color #5F78BB - Custom Color

Color Codes

HEX
#5F78BB
RGB
rgb(95, 120, 187)
HSL
hsl(224, 40%, 55%)
CMYK
cmyk(49%, 36%, 0%, 27%)
HSV
hsv(224, 49%, 73%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

Contrast Ratio: 4.89: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: #5F78BB;
color: #5F78BB;
border-color: #5F78BB;
}

Tailwind CSS (with arbitrary values)

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