HSL(270, 10%, 50%)
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(270,10%,50%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(270, 10%, 50%) | color: hsl(270, 10%, 50%) | |
| HEX | #80738C | color: #80738C | |
| RGB | rgb(128, 115, 140) | color: rgb(128, 115, 140) | |
| CMYK | cmyk(9%, 18%, 0%, 45%) | — | |
| HSV | hsv(271, 18%, 55%) | — | |
| HWB | hwb(271 45% 45%) | color: hwb(271 45% 45%) | |
| OKLCH | oklch(0.5761 0.0407 308.53) | color: oklch(0.5761 0.0407 308.53) | |
| Lab | lab(50.39 10.08 -11.78) | color: lab(50.39 10.08 -11.78) | |
| LCH | lch(50.39 15.5 310.55) | color: lch(50.39 15.5 310.55) |
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: black
Color Blindness Simulation
Protanopia (Red-blind)
#7A7A86 — rgb(122, 122, 134)
Deuteranopia (Green-blind)
#7B7C85 — rgb(123, 124, 133)
Tritanopia (Blue-blind)
#7F8180 — rgb(127, 129, 128)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(270, 10%, 50%);
text
color: hsl(270, 10%, 50%);
border
border: 2px solid hsl(270, 10%, 50%);
gradient light
background: linear-gradient(to right, hsl(270, 10%, 70%), hsl(270, 10%, 50%));
gradient dark
background: linear-gradient(to right, hsl(270, 10%, 50%), hsl(270, 10%, 30%))
hex
background-color: #80738C;
tailwind
bg-[hsl(270,10%,50%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(270, 10%, 50%, 0.4);
css variable
--color-primary: hsl(270, 10%, 50%);
Related Colors
Use Cases for Grayish Indigo
Frequently Asked Questions
What are all the color codes for HSL(270, 10%, 50%)?
HEX: #80738C | RGB: rgb(128, 115, 140) | CMYK: 9%, 18%, 0%, 45% | HSV: 271°, 18%, 55%. Copy any format from the conversion table above.
What colors go well with #80738C?
The complementary color is HSL(90, 10%, 50%). For a triadic harmony, use hues 270°, 30°, and 150°. For analogous combinations, try hues 240° and 300°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(270, 10%, 50%) in CSS?
As HSL: color: hsl(270, 10%, 50%); — As HEX: color: #80738C; — As RGB: color: rgb(128, 115, 140); — Tailwind CSS: bg-[hsl(270,10%,50%)] — CSS variable: --color-primary: hsl(270, 10%, 50%);