Hex Color #6274AB - Custom Color
Color Codes
HEX
#6274AB
RGB
rgb(98, 116, 171)
HSL
hsl(225, 30%, 53%)
CMYK
cmyk(43%, 32%, 0%, 33%)
HSV
hsv(225, 43%, 67%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 4.56:1
Pass - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 4.61: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: #6274AB;
color: #6274AB;
border-color: #6274AB;
}
Tailwind CSS (with arbitrary values)
bg-[#6274AB]
text-[#6274AB]
border-[#6274AB]
// Example usage:
<div className="bg-[#6274AB]">