Hex Color #334BBD - Custom Color
Color Codes
HEX
#334BBD
RGB
rgb(51, 75, 189)
HSL
hsl(230, 58%, 47%)
CMYK
cmyk(73%, 60%, 0%, 26%)
HSV
hsv(230, 73%, 74%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 7.29:1
Pass - WCAG AA (Normal Text)
Pass - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 2.88: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: #334BBD;
color: #334BBD;
border-color: #334BBD;
}
Tailwind CSS (with arbitrary values)
bg-[#334BBD]
text-[#334BBD]
border-[#334BBD]
// Example usage:
<div className="bg-[#334BBD]">