Hex Color #181234 - Custom Color
Color Codes
HEX
#181234
RGB
rgb(24, 18, 52)
HSL
hsl(251, 49%, 14%)
CMYK
cmyk(54%, 65%, 0%, 80%)
HSV
hsv(251, 65%, 20%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 17.87:1
Pass - WCAG AA (Normal Text)
Pass - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 1.17: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: #181234;
color: #181234;
border-color: #181234;
}
Tailwind CSS (with arbitrary values)
bg-[#181234]
text-[#181234]
border-[#181234]
// Example usage:
<div className="bg-[#181234]">