Hex Color #1048FD - Custom Color
Color Codes
HEX
#1048FD
RGB
rgb(16, 72, 253)
HSL
hsl(226, 98%, 53%)
CMYK
cmyk(94%, 72%, 0%, 1%)
HSV
hsv(226, 94%, 99%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 6.24:1
Pass - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 3.37: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: #1048FD;
color: #1048FD;
border-color: #1048FD;
}
Tailwind CSS (with arbitrary values)
bg-[#1048FD]
text-[#1048FD]
border-[#1048FD]
// Example usage:
<div className="bg-[#1048FD]">