Hex Color #2470EC - Custom Color
Color Codes
HEX
#2470EC
RGB
rgb(36, 112, 236)
HSL
hsl(217, 84%, 53%)
CMYK
cmyk(85%, 53%, 0%, 7%)
HSV
hsv(217, 85%, 93%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 4.56:1
Pass - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 4.60:1
Pass - 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: #2470EC;
color: #2470EC;
border-color: #2470EC;
}
Tailwind CSS (with arbitrary values)
bg-[#2470EC]
text-[#2470EC]
border-[#2470EC]
// Example usage:
<div className="bg-[#2470EC]">