Hex Color #1206DD - Custom Color
Color Codes
HEX
#1206DD
RGB
rgb(18, 6, 221)
HSL
hsl(243, 95%, 45%)
CMYK
cmyk(92%, 97%, 0%, 13%)
HSV
hsv(243, 97%, 87%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 10.02:1
Pass - WCAG AA (Normal Text)
Pass - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 2.10: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: #1206DD;
color: #1206DD;
border-color: #1206DD;
}
Tailwind CSS (with arbitrary values)
bg-[#1206DD]
text-[#1206DD]
border-[#1206DD]
// Example usage:
<div className="bg-[#1206DD]">