Hex Color #7997EA - Custom Color
Color Codes
HEX
#7997EA
RGB
rgb(121, 151, 234)
HSL
hsl(224, 73%, 70%)
CMYK
cmyk(48%, 35%, 0%, 8%)
HSV
hsv(224, 48%, 92%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 2.83:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 7.43: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: #7997EA;
color: #7997EA;
border-color: #7997EA;
}
Tailwind CSS (with arbitrary values)
bg-[#7997EA]
text-[#7997EA]
border-[#7997EA]
// Example usage:
<div className="bg-[#7997EA]">