Hex Color #3871DA - Custom Color
Color Codes
HEX
#3871DA
RGB
rgb(56, 113, 218)
HSL
hsl(219, 69%, 54%)
CMYK
cmyk(74%, 48%, 0%, 15%)
HSV
hsv(219, 74%, 85%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 4.62:1
Pass - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 4.54: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: #3871DA;
color: #3871DA;
border-color: #3871DA;
}
Tailwind CSS (with arbitrary values)
bg-[#3871DA]
text-[#3871DA]
border-[#3871DA]
// Example usage:
<div className="bg-[#3871DA]">