HSL(277, 81%, 7%)
Very Dark Indigo — Indigo color
Adjust Color
Color Information
Color Name
Very Dark Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(277,81%,7%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(277, 81%, 7%) | color: hsl(277, 81%, 7%) | |
| HEX | #150320 | color: #150320 | |
| RGB | rgb(21, 3, 32) | color: rgb(21, 3, 32) | |
| CMYK | cmyk(34%, 91%, 0%, 87%) | — | |
| HSV | hsv(277, 91%, 13%) | — | |
| HWB | hwb(277 1% 87%) | color: hwb(277 1% 87%) | |
| OKLCH | oklch(0.1568 0.0639 310.76) | color: oklch(0.1568 0.0639 310.76) | |
| Lab | lab(2.97 11.88 -14.12) | color: lab(2.97 11.88 -14.12) | |
| LCH | lch(2.97 18.45 310.08) | color: lch(2.97 18.45 310.08) |
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)
#0D0D19 — rgb(13, 13, 25)
Deuteranopia (Green-blind)
#0E1017 — rgb(14, 16, 23)
Tritanopia (Blue-blind)
#141312 — rgb(20, 19, 18)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(277, 81%, 7%);
text
color: hsl(277, 81%, 7%);
border
border: 2px solid hsl(277, 81%, 7%);
gradient light
background: linear-gradient(to right, hsl(277, 81%, 27%), hsl(277, 81%, 7%));
gradient dark
background: linear-gradient(to right, hsl(277, 81%, 7%), hsl(277, 81%, 0%))
hex
background-color: #150320;
tailwind
bg-[hsl(277,81%,7%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(277, 81%, 7%, 0.4);
css variable
--color-primary: hsl(277, 81%, 7%);
Related Colors
Use Cases for Very Dark Indigo
Frequently Asked Questions
What are all the color codes for HSL(277, 81%, 7%)?
HEX: #150320 | RGB: rgb(21, 3, 32) | CMYK: 34%, 91%, 0%, 87% | HSV: 277°, 91%, 13%. Copy any format from the conversion table above.
What colors go well with #150320?
The complementary color is HSL(97, 81%, 7%). For a triadic harmony, use hues 277°, 37°, and 157°. For analogous combinations, try hues 247° and 307°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(277, 81%, 7%) in CSS?
As HSL: color: hsl(277, 81%, 7%); — As HEX: color: #150320; — As RGB: color: rgb(21, 3, 32); — Tailwind CSS: bg-[hsl(277,81%,7%)] — CSS variable: --color-primary: hsl(277, 81%, 7%);