Hex Color #868EF9 - Custom Color
Color Codes
HEX
#868EF9
RGB
rgb(134, 142, 249)
HSL
hsl(236, 91%, 75%)
CMYK
cmyk(46%, 43%, 0%, 2%)
HSV
hsv(236, 46%, 98%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 2.90:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 7.25:1
Pass - WCAG AA (Normal Text)
Pass - 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: #868EF9;
color: #868EF9;
border-color: #868EF9;
}
Tailwind CSS (with arbitrary values)
bg-[#868EF9]
text-[#868EF9]
border-[#868EF9]
// Example usage:
<div className="bg-[#868EF9]">