Hex Color #201FEF - Custom Color
Color Codes
HEX
#201FEF
RGB
rgb(32, 31, 239)
HSL
hsl(240, 87%, 53%)
CMYK
cmyk(87%, 87%, 0%, 6%)
HSV
hsv(240, 87%, 94%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 8.39:1
Pass - WCAG AA (Normal Text)
Pass - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 2.50: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: #201FEF;
color: #201FEF;
border-color: #201FEF;
}
Tailwind CSS (with arbitrary values)
bg-[#201FEF]
text-[#201FEF]
border-[#201FEF]
// Example usage:
<div className="bg-[#201FEF]">