Hex Color #3871BF - Custom Color
Color Codes
HEX
#3871BF
RGB
rgb(56, 113, 191)
HSL
hsl(215, 55%, 48%)
CMYK
cmyk(71%, 41%, 0%, 25%)
HSV
hsv(215, 71%, 75%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 4.90:1
Pass - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 4.28: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: #3871BF;
color: #3871BF;
border-color: #3871BF;
}
Tailwind CSS (with arbitrary values)
bg-[#3871BF]
text-[#3871BF]
border-[#3871BF]
// Example usage:
<div className="bg-[#3871BF]">