Hex Color #261748 - Custom Color
Color Codes
HEX
#261748
RGB
rgb(38, 23, 72)
HSL
hsl(258, 52%, 19%)
CMYK
cmyk(47%, 68%, 0%, 72%)
HSV
hsv(258, 68%, 28%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 16.17:1
Pass - WCAG AA (Normal Text)
Pass - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 1.30: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: #261748;
color: #261748;
border-color: #261748;
}
Tailwind CSS (with arbitrary values)
bg-[#261748]
text-[#261748]
border-[#261748]
// Example usage:
<div className="bg-[#261748]">