HSL(258, 12%, 33%)
Grayish Indigo — Indigo color
Adjust Color
Color Information
Color Name
Grayish Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
N/A
CSS Class
bg-[hsl(258,12%,33%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(258, 12%, 33%) | color: hsl(258, 12%, 33%) | |
| HEX | #504A5E | color: #504A5E | |
| RGB | rgb(80, 74, 94) | color: rgb(80, 74, 94) | |
| CMYK | cmyk(15%, 21%, 0%, 63%) | — | |
| HSV | hsv(258, 21%, 37%) | — | |
| HWB | hwb(258 29% 63%) | color: hwb(258 29% 63%) | |
| OKLCH | oklch(0.4227 0.0336 298.69) | color: oklch(0.4227 0.0336 298.69) | |
| Lab | lab(32.73 7.05 -10.83) | color: lab(32.73 7.05 -10.83) | |
| LCH | lch(32.73 12.92 303.06) | color: lch(32.73 12.92 303.06) |
Color Theory
Accessibility (WCAG)
White text on color
Black text on color
Colored text
Contrast Ratios
AA Normal (4.5:1)
AA Large (3:1)
AAA Normal (7:1)
Best text on this color: white
Color Blindness Simulation
Protanopia (Red-blind)
#4D4D59 — rgb(77, 77, 89)
Deuteranopia (Green-blind)
#4E4E58 — rgb(78, 78, 88)
Tritanopia (Blue-blind)
#505555 — rgb(80, 85, 85)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(258, 12%, 33%);
text
color: hsl(258, 12%, 33%);
border
border: 2px solid hsl(258, 12%, 33%);
gradient light
background: linear-gradient(to right, hsl(258, 12%, 53%), hsl(258, 12%, 33%));
gradient dark
background: linear-gradient(to right, hsl(258, 12%, 33%), hsl(258, 12%, 13%))
hex
background-color: #504A5E;
tailwind
bg-[hsl(258,12%,33%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(258, 12%, 33%, 0.4);
css variable
--color-primary: hsl(258, 12%, 33%);
Related Colors
Use Cases for Grayish Indigo
Frequently Asked Questions
What are all the color codes for HSL(258, 12%, 33%)?
HEX: #504A5E | RGB: rgb(80, 74, 94) | CMYK: 15%, 21%, 0%, 63% | HSV: 258°, 21%, 37%. Copy any format from the conversion table above.
What colors go well with #504A5E?
The complementary color is HSL(78, 12%, 33%). For a triadic harmony, use hues 258°, 18°, and 138°. For analogous combinations, try hues 228° and 288°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(258, 12%, 33%) in CSS?
As HSL: color: hsl(258, 12%, 33%); — As HEX: color: #504A5E; — As RGB: color: rgb(80, 74, 94); — Tailwind CSS: bg-[hsl(258,12%,33%)] — CSS variable: --color-primary: hsl(258, 12%, 33%);