Hex Color #0004FA - Custom Color
Color Codes
HEX
#0004FA
RGB
rgb(0, 4, 250)
HSL
hsl(239, 100%, 49%)
CMYK
cmyk(100%, 98%, 0%, 2%)
HSV
hsv(239, 100%, 98%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 8.76:1
Pass - WCAG AA (Normal Text)
Pass - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 2.40: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: #0004FA;
color: #0004FA;
border-color: #0004FA;
}
Tailwind CSS (with arbitrary values)
bg-[#0004FA]
text-[#0004FA]
border-[#0004FA]
// Example usage:
<div className="bg-[#0004FA]">