Hex Color #6786AC - Custom Color
Color Codes
HEX
#6786AC
RGB
rgb(103, 134, 172)
HSL
hsl(213, 29%, 54%)
CMYK
cmyk(40%, 22%, 0%, 33%)
HSV
hsv(213, 40%, 67%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 3.76:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 5.58:1
Pass - WCAG AA (Normal Text)
Fail - 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: #6786AC;
color: #6786AC;
border-color: #6786AC;
}
Tailwind CSS (with arbitrary values)
bg-[#6786AC]
text-[#6786AC]
border-[#6786AC]
// Example usage:
<div className="bg-[#6786AC]">