Hex Color #233981 - Custom Color

Color Codes

HEX
#233981
RGB
rgb(35, 57, 129)
HSL
hsl(226, 57%, 32%)
CMYK
cmyk(73%, 56%, 0%, 49%)
HSV
hsv(226, 73%, 51%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

Contrast Ratio: 1.97: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: #233981;
color: #233981;
border-color: #233981;
}

Tailwind CSS (with arbitrary values)

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