Hex Color #334CDE - Custom Color
Color Codes
HEX
#334CDE
RGB
rgb(51, 76, 222)
HSL
hsl(231, 72%, 54%)
CMYK
cmyk(77%, 66%, 0%, 13%)
HSV
hsv(231, 77%, 87%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 6.50: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: #334CDE;
color: #334CDE;
border-color: #334CDE;
}
Tailwind CSS (with arbitrary values)
bg-[#334CDE]
text-[#334CDE]
border-[#334CDE]
// Example usage:
<div className="bg-[#334CDE]">