Hex Color #3981FB - Custom Color
Color Codes
HEX
#3981FB
RGB
rgb(57, 129, 251)
HSL
hsl(218, 96%, 60%)
CMYK
cmyk(77%, 49%, 0%, 2%)
HSV
hsv(218, 77%, 98%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 3.68:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 5.71: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: #3981FB;
color: #3981FB;
border-color: #3981FB;
}
Tailwind CSS (with arbitrary values)
bg-[#3981FB]
text-[#3981FB]
border-[#3981FB]
// Example usage:
<div className="bg-[#3981FB]">