Hex Color #1D3ADF - Custom Color
Color Codes
HEX
#1D3ADF
RGB
rgb(29, 58, 223)
HSL
hsl(231, 77%, 49%)
CMYK
cmyk(87%, 74%, 0%, 13%)
HSV
hsv(231, 87%, 87%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 7.71:1
Pass - WCAG AA (Normal Text)
Pass - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 2.72: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: #1D3ADF;
color: #1D3ADF;
border-color: #1D3ADF;
}
Tailwind CSS (with arbitrary values)
bg-[#1D3ADF]
text-[#1D3ADF]
border-[#1D3ADF]
// Example usage:
<div className="bg-[#1D3ADF]">