Hex Color #25035E - Custom Color

Color Codes

HEX
#25035E
RGB
rgb(37, 3, 94)
HSL
hsl(262, 94%, 19%)
CMYK
cmyk(61%, 97%, 0%, 63%)
HSV
hsv(262, 97%, 37%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

Contrast Ratio: 1.25: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: #25035E;
color: #25035E;
border-color: #25035E;
}

Tailwind CSS (with arbitrary values)

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