Hex Color #26173A - Custom Color

Color Codes

HEX
#26173A
RGB
rgb(38, 23, 58)
HSL
hsl(266, 43%, 16%)
CMYK
cmyk(34%, 60%, 0%, 77%)
HSV
hsv(266, 60%, 23%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

Contrast Ratio: 16.59:1
Pass - WCAG AA (Normal Text)
Pass - WCAG AAA (Normal Text)

Text on Black Background

Sample Text

Contrast Ratio: 1.27: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: #26173A;
color: #26173A;
border-color: #26173A;
}

Tailwind CSS (with arbitrary values)

bg-[#26173A]
text-[#26173A]
border-[#26173A]
// Example usage:
<div className="bg-[#26173A]">