HSL(283, 50%, 14%)
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(283,50%,14%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(283, 50%, 14%) | color: hsl(283, 50%, 14%) | |
| HEX | #2B1236 | color: #2B1236 | |
| RGB | rgb(43, 18, 54) | color: rgb(43, 18, 54) | |
| CMYK | cmyk(20%, 67%, 0%, 79%) | — | |
| HSV | hsv(282, 67%, 21%) | — | |
| HWB | hwb(282 7% 79%) | color: hwb(282 7% 79%) | |
| OKLCH | oklch(0.2383 0.0719 314.34) | color: oklch(0.2383 0.0719 314.34) | |
| Lab | lab(10.65 20.31 -18.39) | color: lab(10.65 20.31 -18.39) | |
| LCH | lch(10.65 27.4 317.84) | color: lch(10.65 27.4 317.84) |
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)
#20202D — rgb(32, 32, 45)
Deuteranopia (Green-blind)
#22242B — rgb(34, 36, 43)
Tritanopia (Blue-blind)
#2A2625 — rgb(42, 38, 37)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(283, 50%, 14%);
text
color: hsl(283, 50%, 14%);
border
border: 2px solid hsl(283, 50%, 14%);
gradient light
background: linear-gradient(to right, hsl(283, 50%, 34%), hsl(283, 50%, 14%));
gradient dark
background: linear-gradient(to right, hsl(283, 50%, 14%), hsl(283, 50%, 0%))
hex
background-color: #2B1236;
tailwind
bg-[hsl(283,50%,14%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(283, 50%, 14%, 0.4);
css variable
--color-primary: hsl(283, 50%, 14%);
Related Colors
Use Cases for Very Dark Indigo
Frequently Asked Questions
What are all the color codes for HSL(283, 50%, 14%)?
HEX: #2B1236 | RGB: rgb(43, 18, 54) | CMYK: 20%, 67%, 0%, 79% | HSV: 282°, 67%, 21%. Copy any format from the conversion table above.
What colors go well with #2B1236?
The complementary color is HSL(103, 50%, 14%). 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, 50%, 14%) in CSS?
As HSL: color: hsl(283, 50%, 14%); — As HEX: color: #2B1236; — As RGB: color: rgb(43, 18, 54); — Tailwind CSS: bg-[hsl(283,50%,14%)] — CSS variable: --color-primary: hsl(283, 50%, 14%);