Hex Color #2A3DEE - Custom Color
Color Codes
HEX
#2A3DEE
RGB
rgb(42, 61, 238)
HSL
hsl(234, 85%, 55%)
CMYK
cmyk(82%, 74%, 0%, 7%)
HSV
hsv(234, 82%, 93%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 7.00:1
Pass - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 3.00: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: #2A3DEE;
color: #2A3DEE;
border-color: #2A3DEE;
}
Tailwind CSS (with arbitrary values)
bg-[#2A3DEE]
text-[#2A3DEE]
border-[#2A3DEE]
// Example usage:
<div className="bg-[#2A3DEE]">