Hex Color #27183B - Custom Color

Color Codes

HEX
#27183B
RGB
rgb(39, 24, 59)
HSL
hsl(266, 42%, 16%)
CMYK
cmyk(34%, 59%, 0%, 77%)
HSV
hsv(266, 59%, 23%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

Contrast Ratio: 1.28: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: #27183B;
color: #27183B;
border-color: #27183B;
}

Tailwind CSS (with arbitrary values)

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