Hex Color #172678 - Custom Color
Color Codes
HEX
#172678
RGB
rgb(23, 38, 120)
HSL
hsl(231, 68%, 28%)
CMYK
cmyk(81%, 68%, 0%, 53%)
HSV
hsv(231, 81%, 47%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 13.25:1
Pass - WCAG AA (Normal Text)
Pass - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 1.58:1
Fail - 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: #172678;
color: #172678;
border-color: #172678;
}
Tailwind CSS (with arbitrary values)
bg-[#172678]
text-[#172678]
border-[#172678]
// Example usage:
<div className="bg-[#172678]">