HSL(257, 12%, 42%)
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%,42%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(257, 12%, 42%) | color: hsl(257, 12%, 42%) | |
| HEX | #665E78 | color: #665E78 | |
| RGB | rgb(102, 94, 120) | color: rgb(102, 94, 120) | |
| CMYK | cmyk(15%, 22%, 0%, 53%) | — | |
| HSV | hsv(258, 22%, 47%) | — | |
| HWB | hwb(258 37% 53%) | color: hwb(258 37% 53%) | |
| OKLCH | oklch(0.4992 0.0419 298.96) | color: oklch(0.4992 0.0419 298.96) | |
| Lab | lab(41.51 8.87 -13.46) | color: lab(41.51 8.87 -13.46) | |
| LCH | lch(41.51 16.12 303.38) | color: lch(41.51 16.12 303.38) |
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)
#636272 — rgb(99, 98, 114)
Deuteranopia (Green-blind)
#636470 — rgb(99, 100, 112)
Tritanopia (Blue-blind)
#666D6C — rgb(102, 109, 108)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(257, 12%, 42%);
text
color: hsl(257, 12%, 42%);
border
border: 2px solid hsl(257, 12%, 42%);
gradient light
background: linear-gradient(to right, hsl(257, 12%, 62%), hsl(257, 12%, 42%));
gradient dark
background: linear-gradient(to right, hsl(257, 12%, 42%), hsl(257, 12%, 22%))
hex
background-color: #665E78;
tailwind
bg-[hsl(257,12%,42%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(257, 12%, 42%, 0.4);
css variable
--color-primary: hsl(257, 12%, 42%);
Related Colors
Use Cases for Grayish Indigo
Frequently Asked Questions
What are all the color codes for HSL(257, 12%, 42%)?
HEX: #665E78 | RGB: rgb(102, 94, 120) | CMYK: 15%, 22%, 0%, 53% | HSV: 258°, 22%, 47%. Copy any format from the conversion table above.
What colors go well with #665E78?
The complementary color is HSL(77, 12%, 42%). 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%, 42%) in CSS?
As HSL: color: hsl(257, 12%, 42%); — As HEX: color: #665E78; — As RGB: color: rgb(102, 94, 120); — Tailwind CSS: bg-[hsl(257,12%,42%)] — CSS variable: --color-primary: hsl(257, 12%, 42%);