Hex Color #899DEB - Custom Color
Color Codes
HEX
#899DEB
RGB
rgb(137, 157, 235)
HSL
hsl(228, 71%, 73%)
CMYK
cmyk(42%, 33%, 0%, 8%)
HSV
hsv(228, 42%, 92%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 2.60:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 8.09: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: #899DEB;
color: #899DEB;
border-color: #899DEB;
}
Tailwind CSS (with arbitrary values)
bg-[#899DEB]
text-[#899DEB]
border-[#899DEB]
// Example usage:
<div className="bg-[#899DEB]">