Hex Color #140457 - Custom Color
Color Codes
HEX
#140457
RGB
rgb(20, 4, 87)
HSL
hsl(252, 91%, 18%)
CMYK
cmyk(77%, 95%, 0%, 66%)
HSV
hsv(252, 95%, 34%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 17.73:1
Pass - WCAG AA (Normal Text)
Pass - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 1.18: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: #140457;
color: #140457;
border-color: #140457;
}
Tailwind CSS (with arbitrary values)
bg-[#140457]
text-[#140457]
border-[#140457]
// Example usage:
<div className="bg-[#140457]">