Hex Color #1852AC - Custom Color
Color Codes
HEX
#1852AC
RGB
rgb(24, 82, 172)
HSL
hsl(216, 76%, 38%)
CMYK
cmyk(86%, 52%, 0%, 33%)
HSV
hsv(216, 86%, 67%)
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: #1852AC;
color: #1852AC;
border-color: #1852AC;
}
Tailwind CSS (with arbitrary values)
bg-[#1852AC]
text-[#1852AC]
border-[#1852AC]
// Example usage:
<div className="bg-[#1852AC]">