Hex Color #0142EE - Custom Color
Color Codes
HEX
#0142EE
RGB
rgb(1, 66, 238)
HSL
hsl(224, 99%, 47%)
CMYK
cmyk(100%, 72%, 0%, 7%)
HSV
hsv(224, 100%, 93%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 6.96:1
Pass - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 3.02: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: #0142EE;
color: #0142EE;
border-color: #0142EE;
}
Tailwind CSS (with arbitrary values)
bg-[#0142EE]
text-[#0142EE]
border-[#0142EE]
// Example usage:
<div className="bg-[#0142EE]">