Hex Color #417AAC - Custom Color
Color Codes
HEX
#417AAC
RGB
rgb(65, 122, 172)
HSL
hsl(208, 45%, 46%)
CMYK
cmyk(62%, 29%, 0%, 33%)
HSV
hsv(208, 62%, 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.60: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: #417AAC;
color: #417AAC;
border-color: #417AAC;
}
Tailwind CSS (with arbitrary values)
bg-[#417AAC]
text-[#417AAC]
border-[#417AAC]
// Example usage:
<div className="bg-[#417AAC]">