Hex Color #235FCA - Custom Color

Color Codes

HEX
#235FCA
RGB
rgb(35, 95, 202)
HSL
hsl(218, 70%, 46%)
CMYK
cmyk(83%, 53%, 0%, 21%)
HSV
hsv(218, 83%, 79%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

Contrast Ratio: 3.56: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: #235FCA;
color: #235FCA;
border-color: #235FCA;
}

Tailwind CSS (with arbitrary values)

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