HSL(268, 30%, 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(268,30%,6%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(268, 30%, 6%) | color: hsl(268, 30%, 6%) | |
| HEX | #0F0B14 | color: #0F0B14 | |
| RGB | rgb(15, 11, 20) | color: rgb(15, 11, 20) | |
| CMYK | cmyk(25%, 45%, 0%, 92%) | — | |
| HSV | hsv(267, 45%, 8%) | — | |
| HWB | hwb(267 4% 92%) | color: hwb(267 4% 92%) | |
| OKLCH | oklch(0.1594 0.0197 304.58) | color: oklch(0.1594 0.0197 304.58) | |
| Lab | lab(3.54 2.9 -4.12) | color: lab(3.54 2.9 -4.12) | |
| LCH | lch(3.54 5.04 305.14) | color: lch(3.54 5.04 305.14) |
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)
#0D0D12 — rgb(13, 13, 18)
Deuteranopia (Green-blind)
#0E0E11 — rgb(14, 14, 17)
Tritanopia (Blue-blind)
#0F1010 — rgb(15, 16, 16)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(268, 30%, 6%);
text
color: hsl(268, 30%, 6%);
border
border: 2px solid hsl(268, 30%, 6%);
gradient light
background: linear-gradient(to right, hsl(268, 30%, 26%), hsl(268, 30%, 6%));
gradient dark
background: linear-gradient(to right, hsl(268, 30%, 6%), hsl(268, 30%, 0%))
hex
background-color: #0F0B14;
tailwind
bg-[hsl(268,30%,6%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(268, 30%, 6%, 0.4);
css variable
--color-primary: hsl(268, 30%, 6%);
Related Colors
Use Cases for Very Dark Indigo
Frequently Asked Questions
What are all the color codes for HSL(268, 30%, 6%)?
HEX: #0F0B14 | RGB: rgb(15, 11, 20) | CMYK: 25%, 45%, 0%, 92% | HSV: 267°, 45%, 8%. Copy any format from the conversion table above.
What colors go well with #0F0B14?
The complementary color is HSL(88, 30%, 6%). For a triadic harmony, use hues 268°, 28°, and 148°. For analogous combinations, try hues 238° and 298°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(268, 30%, 6%) in CSS?
As HSL: color: hsl(268, 30%, 6%); — As HEX: color: #0F0B14; — As RGB: color: rgb(15, 11, 20); — Tailwind CSS: bg-[hsl(268,30%,6%)] — CSS variable: --color-primary: hsl(268, 30%, 6%);