Hex Color #6951EB - Custom Color
Color Codes
HEX
#6951EB
RGB
rgb(105, 81, 235)
HSL
hsl(249, 79%, 62%)
CMYK
cmyk(55%, 66%, 0%, 8%)
HSV
hsv(249, 66%, 92%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 5.28:1
Pass - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 3.98: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: #6951EB;
color: #6951EB;
border-color: #6951EB;
}
Tailwind CSS (with arbitrary values)
bg-[#6951EB]
text-[#6951EB]
border-[#6951EB]
// Example usage:
<div className="bg-[#6951EB]">