Hex Color #0A4DEC - Custom Color
Color Codes
HEX
#0A4DEC
RGB
rgb(10, 77, 236)
HSL
hsl(222, 92%, 48%)
CMYK
cmyk(96%, 67%, 0%, 7%)
HSV
hsv(222, 96%, 93%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 6.39:1
Pass - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 3.29: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: #0A4DEC;
color: #0A4DEC;
border-color: #0A4DEC;
}
Tailwind CSS (with arbitrary values)
bg-[#0A4DEC]
text-[#0A4DEC]
border-[#0A4DEC]
// Example usage:
<div className="bg-[#0A4DEC]">