Hex Color #3960BA - Custom Color
Color Codes
HEX
#3960BA
RGB
rgb(57, 96, 186)
HSL
hsl(222, 53%, 48%)
CMYK
cmyk(69%, 48%, 0%, 27%)
HSV
hsv(222, 69%, 73%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 5.91:1
Pass - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 3.56: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: #3960BA;
color: #3960BA;
border-color: #3960BA;
}
Tailwind CSS (with arbitrary values)
bg-[#3960BA]
text-[#3960BA]
border-[#3960BA]
// Example usage:
<div className="bg-[#3960BA]">