HSL(262, 98%, 6%)
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,98%,6%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(262, 98%, 6%) | color: hsl(262, 98%, 6%) | |
| HEX | #0B001E | color: #0B001E | |
| RGB | rgb(11, 0, 30) | color: rgb(11, 0, 30) | |
| CMYK | cmyk(63%, 100%, 0%, 88%) | — | |
| HSV | hsv(262, 100%, 12%) | — | |
| HWB | hwb(262 0% 88%) | color: hwb(262 0% 88%) | |
| OKLCH | oklch(0.1276 0.0691 297.47) | color: oklch(0.1276 0.0691 297.47) | |
| Lab | lab(1.49 8.83 -14.85) | color: lab(1.49 8.83 -14.85) | |
| LCH | lch(1.49 17.28 300.74) | color: lch(1.49 17.28 300.74) |
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)
#060617 — rgb(6, 6, 23)
Deuteranopia (Green-blind)
#070815 — rgb(7, 8, 21)
Tritanopia (Blue-blind)
#0A1110 — rgb(10, 17, 16)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(262, 98%, 6%);
text
color: hsl(262, 98%, 6%);
border
border: 2px solid hsl(262, 98%, 6%);
gradient light
background: linear-gradient(to right, hsl(262, 98%, 26%), hsl(262, 98%, 6%));
gradient dark
background: linear-gradient(to right, hsl(262, 98%, 6%), hsl(262, 98%, 0%))
hex
background-color: #0B001E;
tailwind
bg-[hsl(262,98%,6%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(262, 98%, 6%, 0.4);
css variable
--color-primary: hsl(262, 98%, 6%);
Related Colors
Use Cases for Very Dark Indigo
Frequently Asked Questions
What are all the color codes for HSL(262, 98%, 6%)?
HEX: #0B001E | RGB: rgb(11, 0, 30) | CMYK: 63%, 100%, 0%, 88% | HSV: 262°, 100%, 12%. Copy any format from the conversion table above.
What colors go well with #0B001E?
The complementary color is HSL(82, 98%, 6%). 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, 98%, 6%) in CSS?
As HSL: color: hsl(262, 98%, 6%); — As HEX: color: #0B001E; — As RGB: color: rgb(11, 0, 30); — Tailwind CSS: bg-[hsl(262,98%,6%)] — CSS variable: --color-primary: hsl(262, 98%, 6%);