HSL(262, 25%, 11%)
Very Dark Indigo — Indigo color
Adjust Color
Color Information
Color Name
Very Dark Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(262,25%,11%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(262, 25%, 11%) | color: hsl(262, 25%, 11%) | |
| HEX | #1A1523 | color: #1A1523 | |
| RGB | rgb(26, 21, 35) | color: rgb(26, 21, 35) | |
| CMYK | cmyk(26%, 40%, 0%, 86%) | — | |
| HSV | hsv(261, 40%, 14%) | — | |
| HWB | hwb(261 8% 86%) | color: hwb(261 8% 86%) | |
| OKLCH | oklch(0.2087 0.0281 300.38) | color: oklch(0.2087 0.0281 300.38) | |
| Lab | lab(7.92 6.35 -8.8) | color: lab(7.92 6.35 -8.8) | |
| LCH | lch(7.92 10.85 305.81) | color: lch(7.92 10.85 305.81) |
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)
#181820 — rgb(24, 24, 32)
Deuteranopia (Green-blind)
#18191F — rgb(24, 25, 31)
Tritanopia (Blue-blind)
#1A1D1C — rgb(26, 29, 28)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(262, 25%, 11%);
text
color: hsl(262, 25%, 11%);
border
border: 2px solid hsl(262, 25%, 11%);
gradient light
background: linear-gradient(to right, hsl(262, 25%, 31%), hsl(262, 25%, 11%));
gradient dark
background: linear-gradient(to right, hsl(262, 25%, 11%), hsl(262, 25%, 0%))
hex
background-color: #1A1523;
tailwind
bg-[hsl(262,25%,11%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(262, 25%, 11%, 0.4);
css variable
--color-primary: hsl(262, 25%, 11%);
Related Colors
Use Cases for Very Dark Indigo
Frequently Asked Questions
What are all the color codes for HSL(262, 25%, 11%)?
HEX: #1A1523 | RGB: rgb(26, 21, 35) | CMYK: 26%, 40%, 0%, 86% | HSV: 261°, 40%, 14%. Copy any format from the conversion table above.
What colors go well with #1A1523?
The complementary color is HSL(82, 25%, 11%). For a triadic harmony, use hues 262°, 22°, and 142°. For analogous combinations, try hues 232° and 292°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(262, 25%, 11%) in CSS?
As HSL: color: hsl(262, 25%, 11%); — As HEX: color: #1A1523; — As RGB: color: rgb(26, 21, 35); — Tailwind CSS: bg-[hsl(262,25%,11%)] — CSS variable: --color-primary: hsl(262, 25%, 11%);