Hex Color #18203A - Custom Color
Color Codes
HEX
#18203A
RGB
rgb(24, 32, 58)
HSL
hsl(226, 41%, 16%)
CMYK
cmyk(59%, 45%, 0%, 77%)
HSV
hsv(226, 59%, 23%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 16.07:1
Pass - WCAG AA (Normal Text)
Pass - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 1.31: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: #18203A;
color: #18203A;
border-color: #18203A;
}
Tailwind CSS (with arbitrary values)
bg-[#18203A]
text-[#18203A]
border-[#18203A]
// Example usage:
<div className="bg-[#18203A]">