Hex Color #142096 - Custom Color
Color Codes
HEX
#142096
RGB
rgb(20, 32, 150)
HSL
hsl(234, 76%, 33%)
CMYK
cmyk(87%, 79%, 0%, 41%)
HSV
hsv(234, 87%, 59%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 12.52:1
Pass - WCAG AA (Normal Text)
Pass - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 1.68: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: #142096;
color: #142096;
border-color: #142096;
}
Tailwind CSS (with arbitrary values)
bg-[#142096]
text-[#142096]
border-[#142096]
// Example usage:
<div className="bg-[#142096]">