Hex Color #6381FA - Custom Color
Color Codes
HEX
#6381FA
RGB
rgb(99, 129, 250)
HSL
hsl(228, 94%, 68%)
CMYK
cmyk(60%, 48%, 0%, 2%)
HSV
hsv(228, 60%, 98%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 3.47:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 6.05: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: #6381FA;
color: #6381FA;
border-color: #6381FA;
}
Tailwind CSS (with arbitrary values)
bg-[#6381FA]
text-[#6381FA]
border-[#6381FA]
// Example usage:
<div className="bg-[#6381FA]">