Hex Color #152EFD - Custom Color
Color Codes
HEX
#152EFD
RGB
rgb(21, 46, 253)
HSL
hsl(234, 98%, 54%)
CMYK
cmyk(92%, 82%, 0%, 1%)
HSV
hsv(234, 92%, 99%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 7.39:1
Pass - WCAG AA (Normal Text)
Pass - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 2.84: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: #152EFD;
color: #152EFD;
border-color: #152EFD;
}
Tailwind CSS (with arbitrary values)
bg-[#152EFD]
text-[#152EFD]
border-[#152EFD]
// Example usage:
<div className="bg-[#152EFD]">