Hex Color #A2AFCD - Custom Color

Color Codes

HEX
#A2AFCD
RGB
rgb(162, 175, 205)
HSL
hsl(222, 30%, 72%)
CMYK
cmyk(21%, 15%, 0%, 20%)
HSV
hsv(222, 21%, 80%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

Contrast Ratio: 2.20:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)

Text on Black Background

Sample Text

Contrast Ratio: 9.55: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: #A2AFCD;
color: #A2AFCD;
border-color: #A2AFCD;
}

Tailwind CSS (with arbitrary values)

bg-[#A2AFCD]
text-[#A2AFCD]
border-[#A2AFCD]
// Example usage:
<div className="bg-[#A2AFCD]">