Hex Color #789DDA - Custom Color
Color Codes
HEX
#789DDA
RGB
rgb(120, 157, 218)
HSL
hsl(217, 57%, 66%)
CMYK
cmyk(45%, 28%, 0%, 15%)
HSV
hsv(217, 45%, 85%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 2.75:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 7.63: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: #789DDA;
color: #789DDA;
border-color: #789DDA;
}
Tailwind CSS (with arbitrary values)
bg-[#789DDA]
text-[#789DDA]
border-[#789DDA]
// Example usage:
<div className="bg-[#789DDA]">