Hex Color #153398 - Custom Color
Color Codes
HEX
#153398
RGB
rgb(21, 51, 152)
HSL
hsl(226, 76%, 34%)
CMYK
cmyk(86%, 66%, 0%, 40%)
HSV
hsv(226, 86%, 60%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 10.72:1
Pass - WCAG AA (Normal Text)
Pass - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 1.96: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: #153398;
color: #153398;
border-color: #153398;
}
Tailwind CSS (with arbitrary values)
bg-[#153398]
text-[#153398]
border-[#153398]
// Example usage:
<div className="bg-[#153398]">