Hex Color #336478 - Custom Color

Color Codes

HEX
#336478
RGB
rgb(51, 100, 120)
HSL
hsl(197, 40%, 34%)
CMYK
cmyk(58%, 17%, 0%, 53%)
HSV
hsv(197, 57%, 47%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

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

Tailwind CSS (with arbitrary values)

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