HSL(263, 75%, 7%)
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(263,75%,7%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(263, 75%, 7%) | color: hsl(263, 75%, 7%) | |
| HEX | #0F041F | color: #0F041F | |
| RGB | rgb(15, 4, 31) | color: rgb(15, 4, 31) | |
| CMYK | cmyk(52%, 87%, 0%, 88%) | — | |
| HSV | hsv(264, 87%, 12%) | — | |
| HWB | hwb(264 2% 88%) | color: hwb(264 2% 88%) | |
| OKLCH | oklch(0.1488 0.0576 299.52) | color: oklch(0.1488 0.0576 299.52) | |
| Lab | lab(2.6 8.79 -13.95) | color: lab(2.6 8.79 -13.95) | |
| LCH | lch(2.6 16.49 302.22) | color: lch(2.6 16.49 302.22) |
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)
#0A0A18 — rgb(10, 10, 24)
Deuteranopia (Green-blind)
#0B0C17 — rgb(11, 12, 23)
Tritanopia (Blue-blind)
#0E1312 — rgb(14, 19, 18)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(263, 75%, 7%);
text
color: hsl(263, 75%, 7%);
border
border: 2px solid hsl(263, 75%, 7%);
gradient light
background: linear-gradient(to right, hsl(263, 75%, 27%), hsl(263, 75%, 7%));
gradient dark
background: linear-gradient(to right, hsl(263, 75%, 7%), hsl(263, 75%, 0%))
hex
background-color: #0F041F;
tailwind
bg-[hsl(263,75%,7%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(263, 75%, 7%, 0.4);
css variable
--color-primary: hsl(263, 75%, 7%);
Related Colors
Use Cases for Very Dark Indigo
Frequently Asked Questions
What are all the color codes for HSL(263, 75%, 7%)?
HEX: #0F041F | RGB: rgb(15, 4, 31) | CMYK: 52%, 87%, 0%, 88% | HSV: 264°, 87%, 12%. Copy any format from the conversion table above.
What colors go well with #0F041F?
The complementary color is HSL(83, 75%, 7%). For a triadic harmony, use hues 263°, 23°, and 143°. For analogous combinations, try hues 233° and 293°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(263, 75%, 7%) in CSS?
As HSL: color: hsl(263, 75%, 7%); — As HEX: color: #0F041F; — As RGB: color: rgb(15, 4, 31); — Tailwind CSS: bg-[hsl(263,75%,7%)] — CSS variable: --color-primary: hsl(263, 75%, 7%);