Hex Color #13315A - Custom Color

Color Codes

HEX
#13315A
RGB
rgb(19, 49, 90)
HSL
hsl(215, 65%, 21%)
CMYK
cmyk(79%, 46%, 0%, 65%)
HSV
hsv(215, 79%, 35%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

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

Tailwind CSS (with arbitrary values)

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