Hex Color #A0B5FB - Custom Color
Color Codes
HEX
#A0B5FB
RGB
rgb(160, 181, 251)
HSL
hsl(226, 92%, 81%)
CMYK
cmyk(36%, 28%, 0%, 2%)
HSV
hsv(226, 36%, 98%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 2.00:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 10.50: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: #A0B5FB;
color: #A0B5FB;
border-color: #A0B5FB;
}
Tailwind CSS (with arbitrary values)
bg-[#A0B5FB]
text-[#A0B5FB]
border-[#A0B5FB]
// Example usage:
<div className="bg-[#A0B5FB]">