Hex Color #35398E - Custom Color

Color Codes

HEX
#35398E
RGB
rgb(53, 57, 142)
HSL
hsl(237, 46%, 38%)
CMYK
cmyk(63%, 60%, 0%, 44%)
HSV
hsv(237, 63%, 56%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

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

Tailwind CSS (with arbitrary values)

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