Hex Color #9BACF0 - Custom Color

Color Codes

HEX
#9BACF0
RGB
rgb(155, 172, 240)
HSL
hsl(228, 74%, 77%)
CMYK
cmyk(35%, 28%, 0%, 6%)
HSV
hsv(228, 35%, 94%)
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: #9BACF0;
color: #9BACF0;
border-color: #9BACF0;
}

Tailwind CSS (with arbitrary values)

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