HSL(257, 60%, 15%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(257,60%,15%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(257, 60%, 15%) | color: hsl(257, 60%, 15%) | |
| HEX | #1C0F3D | color: #1C0F3D | |
| RGB | rgb(28, 15, 61) | color: rgb(28, 15, 61) | |
| CMYK | cmyk(54%, 75%, 0%, 76%) | — | |
| HSV | hsv(257, 75%, 24%) | — | |
| HWB | hwb(257 6% 76%) | color: hwb(257 6% 76%) | |
| OKLCH | oklch(0.2187 0.0834 290.86) | color: oklch(0.2187 0.0834 290.86) | |
| Lab | lab(8.35 20.21 -27.23) | color: lab(8.35 20.21 -27.23) | |
| LCH | lch(8.35 33.91 306.58) | color: lch(8.35 33.91 306.58) |
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)
#161632 — rgb(22, 22, 50)
Deuteranopia (Green-blind)
#17182F — rgb(23, 24, 47)
Tritanopia (Blue-blind)
#1B2927 — rgb(27, 41, 39)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(257, 60%, 15%);
text
color: hsl(257, 60%, 15%);
border
border: 2px solid hsl(257, 60%, 15%);
gradient light
background: linear-gradient(to right, hsl(257, 60%, 35%), hsl(257, 60%, 15%));
gradient dark
background: linear-gradient(to right, hsl(257, 60%, 15%), hsl(257, 60%, 0%))
hex
background-color: #1C0F3D;
tailwind
bg-[hsl(257,60%,15%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(257, 60%, 15%, 0.4);
css variable
--color-primary: hsl(257, 60%, 15%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(257, 60%, 15%)?
HEX: #1C0F3D | RGB: rgb(28, 15, 61) | CMYK: 54%, 75%, 0%, 76% | HSV: 257°, 75%, 24%. Copy any format from the conversion table above.
What colors go well with #1C0F3D?
The complementary color is HSL(77, 60%, 15%). For a triadic harmony, use hues 257°, 17°, and 137°. For analogous combinations, try hues 227° and 287°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(257, 60%, 15%) in CSS?
As HSL: color: hsl(257, 60%, 15%); — As HEX: color: #1C0F3D; — As RGB: color: rgb(28, 15, 61); — Tailwind CSS: bg-[hsl(257,60%,15%)] — CSS variable: --color-primary: hsl(257, 60%, 15%);