Hex Color #1222FC - Custom Color
Color Codes
HEX
#1222FC
RGB
rgb(18, 34, 252)
HSL
hsl(236, 98%, 53%)
CMYK
cmyk(93%, 87%, 0%, 1%)
HSV
hsv(236, 93%, 99%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 7.89:1
Pass - WCAG AA (Normal Text)
Pass - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 2.66: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: #1222FC;
color: #1222FC;
border-color: #1222FC;
}
Tailwind CSS (with arbitrary values)
bg-[#1222FC]
text-[#1222FC]
border-[#1222FC]
// Example usage:
<div className="bg-[#1222FC]">