HSL(255, 80%, 24%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(255,80%,24%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(255, 80%, 24%) | color: hsl(255, 80%, 24%) | |
| HEX | #250C6E | color: #250C6E | |
| RGB | rgb(37, 12, 110) | color: rgb(37, 12, 110) | |
| CMYK | cmyk(66%, 89%, 0%, 57%) | — | |
| HSV | hsv(255, 89%, 43%) | — | |
| HWB | hwb(255 5% 57%) | color: hwb(255 5% 57%) | |
| OKLCH | oklch(0.2791 0.1501 282.36) | color: oklch(0.2791 0.1501 282.36) | |
| Lab | lab(14.3 38.99 -50.82) | color: lab(14.3 38.99 -50.82) | |
| LCH | lch(14.3 64.05 307.5) | color: lch(14.3 64.05 307.5) |
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)
#1A1A56 — rgb(26, 26, 86)
Deuteranopia (Green-blind)
#1C1E51 — rgb(28, 30, 81)
Tritanopia (Blue-blind)
#24443F — rgb(36, 68, 63)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(255, 80%, 24%);
text
color: hsl(255, 80%, 24%);
border
border: 2px solid hsl(255, 80%, 24%);
gradient light
background: linear-gradient(to right, hsl(255, 80%, 44%), hsl(255, 80%, 24%));
gradient dark
background: linear-gradient(to right, hsl(255, 80%, 24%), hsl(255, 80%, 4%))
hex
background-color: #250C6E;
tailwind
bg-[hsl(255,80%,24%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(255, 80%, 24%, 0.4);
css variable
--color-primary: hsl(255, 80%, 24%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(255, 80%, 24%)?
HEX: #250C6E | RGB: rgb(37, 12, 110) | CMYK: 66%, 89%, 0%, 57% | HSV: 255°, 89%, 43%. Copy any format from the conversion table above.
What colors go well with #250C6E?
The complementary color is HSL(75, 80%, 24%). For a triadic harmony, use hues 255°, 15°, and 135°. For analogous combinations, try hues 225° and 285°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(255, 80%, 24%) in CSS?
As HSL: color: hsl(255, 80%, 24%); — As HEX: color: #250C6E; — As RGB: color: rgb(37, 12, 110); — Tailwind CSS: bg-[hsl(255,80%,24%)] — CSS variable: --color-primary: hsl(255, 80%, 24%);