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