HSL(283, 11%, 21%)
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(283,11%,21%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(283, 11%, 21%) | color: hsl(283, 11%, 21%) | |
| HEX | #38303B | color: #38303B | |
| RGB | rgb(56, 48, 59) | color: rgb(56, 48, 59) | |
| CMYK | cmyk(5%, 19%, 0%, 77%) | — | |
| HSV | hsv(284, 19%, 23%) | — | |
| HWB | hwb(284 19% 77%) | color: hwb(284 19% 77%) | |
| OKLCH | oklch(0.3221 0.0221 316.81) | color: oklch(0.3221 0.0221 316.81) | |
| Lab | lab(21.1 6.09 -5.62) | color: lab(21.1 6.09 -5.62) | |
| LCH | lch(21.1 8.29 317.3) | color: lch(21.1 8.29 317.3) |
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)
#353438 — rgb(53, 52, 56)
Deuteranopia (Green-blind)
#353638 — rgb(53, 54, 56)
Tritanopia (Blue-blind)
#383636 — rgb(56, 54, 54)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(283, 11%, 21%);
text
color: hsl(283, 11%, 21%);
border
border: 2px solid hsl(283, 11%, 21%);
gradient light
background: linear-gradient(to right, hsl(283, 11%, 41%), hsl(283, 11%, 21%));
gradient dark
background: linear-gradient(to right, hsl(283, 11%, 21%), hsl(283, 11%, 1%))
hex
background-color: #38303B;
tailwind
bg-[hsl(283,11%,21%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(283, 11%, 21%, 0.4);
css variable
--color-primary: hsl(283, 11%, 21%);
Related Colors
Use Cases for Grayish Indigo
Frequently Asked Questions
What are all the color codes for HSL(283, 11%, 21%)?
HEX: #38303B | RGB: rgb(56, 48, 59) | CMYK: 5%, 19%, 0%, 77% | HSV: 284°, 19%, 23%. Copy any format from the conversion table above.
What colors go well with #38303B?
The complementary color is HSL(103, 11%, 21%). For a triadic harmony, use hues 283°, 43°, and 163°. For analogous combinations, try hues 253° and 313°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(283, 11%, 21%) in CSS?
As HSL: color: hsl(283, 11%, 21%); — As HEX: color: #38303B; — As RGB: color: rgb(56, 48, 59); — Tailwind CSS: bg-[hsl(283,11%,21%)] — CSS variable: --color-primary: hsl(283, 11%, 21%);