HSL(274, 90%, 19%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(274,90%,19%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(274, 90%, 19%) | color: hsl(274, 90%, 19%) | |
| HEX | #36055C | color: #36055C | |
| RGB | rgb(54, 5, 92) | color: rgb(54, 5, 92) | |
| CMYK | cmyk(41%, 95%, 0%, 64%) | — | |
| HSV | hsv(274, 95%, 36%) | — | |
| HWB | hwb(274 2% 64%) | color: hwb(274 2% 64%) | |
| OKLCH | oklch(0.2735 0.136 302.94) | color: oklch(0.2735 0.136 302.94) | |
| Lab | lab(13.62 38.77 -39.93) | color: lab(13.62 38.77 -39.93) | |
| LCH | lch(13.62 55.66 314.16) | color: lch(13.62 55.66 314.16) |
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)
#212047 — rgb(33, 32, 71)
Deuteranopia (Green-blind)
#242742 — rgb(36, 39, 66)
Tritanopia (Blue-blind)
#343633 — rgb(52, 54, 51)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(274, 90%, 19%);
text
color: hsl(274, 90%, 19%);
border
border: 2px solid hsl(274, 90%, 19%);
gradient light
background: linear-gradient(to right, hsl(274, 90%, 39%), hsl(274, 90%, 19%));
gradient dark
background: linear-gradient(to right, hsl(274, 90%, 19%), hsl(274, 90%, 0%))
hex
background-color: #36055C;
tailwind
bg-[hsl(274,90%,19%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(274, 90%, 19%, 0.4);
css variable
--color-primary: hsl(274, 90%, 19%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(274, 90%, 19%)?
HEX: #36055C | RGB: rgb(54, 5, 92) | CMYK: 41%, 95%, 0%, 64% | HSV: 274°, 95%, 36%. Copy any format from the conversion table above.
What colors go well with #36055C?
The complementary color is HSL(94, 90%, 19%). For a triadic harmony, use hues 274°, 34°, and 154°. For analogous combinations, try hues 244° and 304°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(274, 90%, 19%) in CSS?
As HSL: color: hsl(274, 90%, 19%); — As HEX: color: #36055C; — As RGB: color: rgb(54, 5, 92); — Tailwind CSS: bg-[hsl(274,90%,19%)] — CSS variable: --color-primary: hsl(274, 90%, 19%);