Hex Color #4EA5FB - Custom Color
Color Codes
HEX
#4EA5FB
RGB
rgb(78, 165, 251)
HSL
hsl(210, 96%, 65%)
CMYK
cmyk(69%, 34%, 0%, 2%)
HSV
hsv(210, 69%, 98%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 2.59:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 8.10:1
Pass - WCAG AA (Normal Text)
Pass - 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: #4EA5FB;
color: #4EA5FB;
border-color: #4EA5FB;
}
Tailwind CSS (with arbitrary values)
bg-[#4EA5FB]
text-[#4EA5FB]
border-[#4EA5FB]
// Example usage:
<div className="bg-[#4EA5FB]">