Hex Color #A2B4DD - Custom Color
Color Codes
HEX
#A2B4DD
RGB
rgb(162, 180, 221)
HSL
hsl(222, 46%, 75%)
CMYK
cmyk(27%, 19%, 0%, 13%)
HSV
hsv(222, 27%, 87%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 2.08:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 10.11: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: #A2B4DD;
color: #A2B4DD;
border-color: #A2B4DD;
}
Tailwind CSS (with arbitrary values)
bg-[#A2B4DD]
text-[#A2B4DD]
border-[#A2B4DD]
// Example usage:
<div className="bg-[#A2B4DD]">