Hex Color #31808F - Custom Color

Color Codes

HEX
#31808F
RGB
rgb(49, 128, 143)
HSL
hsl(190, 49%, 38%)
CMYK
cmyk(66%, 10%, 0%, 44%)
HSV
hsv(190, 66%, 56%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

Contrast Ratio: 4.61: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: #31808F;
color: #31808F;
border-color: #31808F;
}

Tailwind CSS (with arbitrary values)

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