HSL(277, 52%, 10%)
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,52%,10%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(277, 52%, 10%) | color: hsl(277, 52%, 10%) | |
| HEX | #1D0C27 | color: #1D0C27 | |
| RGB | rgb(29, 12, 39) | color: rgb(29, 12, 39) | |
| CMYK | cmyk(26%, 69%, 0%, 85%) | — | |
| HSV | hsv(278, 69%, 15%) | — | |
| HWB | hwb(278 5% 85%) | color: hwb(278 5% 85%) | |
| OKLCH | oklch(0.1951 0.056 311.34) | color: oklch(0.1951 0.056 311.34) | |
| Lab | lab(6.06 14.64 -14.7) | color: lab(6.06 14.64 -14.7) | |
| LCH | lch(6.06 20.75 314.88) | color: lch(6.06 20.75 314.88) |
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)
#161520 — rgb(22, 21, 32)
Deuteranopia (Green-blind)
#17181F — rgb(23, 24, 31)
Tritanopia (Blue-blind)
#1C1B1A — rgb(28, 27, 26)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(277, 52%, 10%);
text
color: hsl(277, 52%, 10%);
border
border: 2px solid hsl(277, 52%, 10%);
gradient light
background: linear-gradient(to right, hsl(277, 52%, 30%), hsl(277, 52%, 10%));
gradient dark
background: linear-gradient(to right, hsl(277, 52%, 10%), hsl(277, 52%, 0%))
hex
background-color: #1D0C27;
tailwind
bg-[hsl(277,52%,10%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(277, 52%, 10%, 0.4);
css variable
--color-primary: hsl(277, 52%, 10%);
Related Colors
Use Cases for Very Dark Indigo
Frequently Asked Questions
What are all the color codes for HSL(277, 52%, 10%)?
HEX: #1D0C27 | RGB: rgb(29, 12, 39) | CMYK: 26%, 69%, 0%, 85% | HSV: 278°, 69%, 15%. Copy any format from the conversion table above.
What colors go well with #1D0C27?
The complementary color is HSL(97, 52%, 10%). 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, 52%, 10%) in CSS?
As HSL: color: hsl(277, 52%, 10%); — As HEX: color: #1D0C27; — As RGB: color: rgb(29, 12, 39); — Tailwind CSS: bg-[hsl(277,52%,10%)] — CSS variable: --color-primary: hsl(277, 52%, 10%);