HSL(277, 74%, 11%)
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,74%,11%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(277, 74%, 11%) | color: hsl(277, 74%, 11%) | |
| HEX | #210731 | color: #210731 | |
| RGB | rgb(33, 7, 49) | color: rgb(33, 7, 49) | |
| CMYK | cmyk(33%, 86%, 0%, 81%) | — | |
| HSV | hsv(277, 86%, 19%) | — | |
| HWB | hwb(277 3% 81%) | color: hwb(277 3% 81%) | |
| OKLCH | oklch(0.2011 0.0807 309.31) | color: oklch(0.2011 0.0807 309.31) | |
| Lab | lab(6.3 22.15 -21.79) | color: lab(6.3 22.15 -21.79) | |
| LCH | lch(6.3 31.07 315.47) | color: lch(6.3 31.07 315.47) |
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)
#161627 — rgb(22, 22, 39)
Deuteranopia (Green-blind)
#171924 — rgb(23, 25, 36)
Tritanopia (Blue-blind)
#201F1D — rgb(32, 31, 29)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(277, 74%, 11%);
text
color: hsl(277, 74%, 11%);
border
border: 2px solid hsl(277, 74%, 11%);
gradient light
background: linear-gradient(to right, hsl(277, 74%, 31%), hsl(277, 74%, 11%));
gradient dark
background: linear-gradient(to right, hsl(277, 74%, 11%), hsl(277, 74%, 0%))
hex
background-color: #210731;
tailwind
bg-[hsl(277,74%,11%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(277, 74%, 11%, 0.4);
css variable
--color-primary: hsl(277, 74%, 11%);
Related Colors
Use Cases for Very Dark Indigo
Frequently Asked Questions
What are all the color codes for HSL(277, 74%, 11%)?
HEX: #210731 | RGB: rgb(33, 7, 49) | CMYK: 33%, 86%, 0%, 81% | HSV: 277°, 86%, 19%. Copy any format from the conversion table above.
What colors go well with #210731?
The complementary color is HSL(97, 74%, 11%). 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, 74%, 11%) in CSS?
As HSL: color: hsl(277, 74%, 11%); — As HEX: color: #210731; — As RGB: color: rgb(33, 7, 49); — Tailwind CSS: bg-[hsl(277,74%,11%)] — CSS variable: --color-primary: hsl(277, 74%, 11%);