Hex Color #22354D - Custom Color
Color Codes
HEX
#22354D
RGB
rgb(34, 53, 77)
HSL
hsl(213, 39%, 22%)
CMYK
cmyk(56%, 31%, 0%, 70%)
HSV
hsv(213, 56%, 30%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 12.47:1
Pass - WCAG AA (Normal Text)
Pass - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 1.68: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: #22354D;
color: #22354D;
border-color: #22354D;
}
Tailwind CSS (with arbitrary values)
bg-[#22354D]
text-[#22354D]
border-[#22354D]
// Example usage:
<div className="bg-[#22354D]">