HSL(257, 12%, 22%)
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(257,12%,22%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(257, 12%, 22%) | color: hsl(257, 12%, 22%) | |
| HEX | #35313F | color: #35313F | |
| RGB | rgb(53, 49, 63) | color: rgb(53, 49, 63) | |
| CMYK | cmyk(16%, 22%, 0%, 75%) | — | |
| HSV | hsv(257, 22%, 25%) | — | |
| HWB | hwb(257 20% 75%) | color: hwb(257 20% 75%) | |
| OKLCH | oklch(0.3231 0.0251 298.07) | color: oklch(0.3231 0.0251 298.07) | |
| Lab | lab(21.25 5.19 -8.14) | color: lab(21.25 5.19 -8.14) | |
| LCH | lch(21.25 9.65 302.52) | color: lch(21.25 9.65 302.52) |
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)
#33333C — rgb(51, 51, 60)
Deuteranopia (Green-blind)
#34343B — rgb(52, 52, 59)
Tritanopia (Blue-blind)
#353938 — rgb(53, 57, 56)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(257, 12%, 22%);
text
color: hsl(257, 12%, 22%);
border
border: 2px solid hsl(257, 12%, 22%);
gradient light
background: linear-gradient(to right, hsl(257, 12%, 42%), hsl(257, 12%, 22%));
gradient dark
background: linear-gradient(to right, hsl(257, 12%, 22%), hsl(257, 12%, 2%))
hex
background-color: #35313F;
tailwind
bg-[hsl(257,12%,22%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(257, 12%, 22%, 0.4);
css variable
--color-primary: hsl(257, 12%, 22%);
Related Colors
Use Cases for Grayish Indigo
Frequently Asked Questions
What are all the color codes for HSL(257, 12%, 22%)?
HEX: #35313F | RGB: rgb(53, 49, 63) | CMYK: 16%, 22%, 0%, 75% | HSV: 257°, 22%, 25%. Copy any format from the conversion table above.
What colors go well with #35313F?
The complementary color is HSL(77, 12%, 22%). For a triadic harmony, use hues 257°, 17°, and 137°. For analogous combinations, try hues 227° and 287°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(257, 12%, 22%) in CSS?
As HSL: color: hsl(257, 12%, 22%); — As HEX: color: #35313F; — As RGB: color: rgb(53, 49, 63); — Tailwind CSS: bg-[hsl(257,12%,22%)] — CSS variable: --color-primary: hsl(257, 12%, 22%);