Hex Color #024561 - Custom Color
Color Codes
HEX
#024561
RGB
rgb(2, 69, 97)
HSL
hsl(198, 96%, 19%)
CMYK
cmyk(98%, 29%, 0%, 62%)
HSV
hsv(198, 98%, 38%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 10.36:1
Pass - WCAG AA (Normal Text)
Pass - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 2.03: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: #024561;
color: #024561;
border-color: #024561;
}
Tailwind CSS (with arbitrary values)
bg-[#024561]
text-[#024561]
border-[#024561]
// Example usage:
<div className="bg-[#024561]">