HSL(168, 80%, 8%)
Very Dark Cyan — Cyan color
Adjust Color
Color Information
Color Name
Very Dark Cyan
Color Family
Cyan
Warm / Cool
🔵 Cool
Temperature
7000K
CSS Class
bg-[hsl(168,80%,8%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(168, 80%, 8%) | color: hsl(168, 80%, 8%) | |
| HEX | #04251E | color: #04251E | |
| RGB | rgb(4, 37, 30) | color: rgb(4, 37, 30) | |
| CMYK | cmyk(89%, 0%, 19%, 85%) | — | |
| HSV | hsv(167, 89%, 15%) | — | |
| HWB | hwb(167 2% 85%) | color: hwb(167 2% 85%) | |
| OKLCH | oklch(0.2383 0.0404 175.77) | color: oklch(0.2383 0.0404 175.77) | |
| Lab | lab(12.24 -14.17 1.21) | color: lab(12.24 -14.17 1.21) | |
| LCH | lch(12.24 14.22 175.12) | color: lch(12.24 14.22 175.12) |
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)
#121320 — rgb(18, 19, 32)
Deuteranopia (Green-blind)
#100E20 — rgb(16, 14, 32)
Tritanopia (Blue-blind)
#062121 — rgb(6, 33, 33)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(168, 80%, 8%);
text
color: hsl(168, 80%, 8%);
border
border: 2px solid hsl(168, 80%, 8%);
gradient light
background: linear-gradient(to right, hsl(168, 80%, 28%), hsl(168, 80%, 8%));
gradient dark
background: linear-gradient(to right, hsl(168, 80%, 8%), hsl(168, 80%, 0%))
hex
background-color: #04251E;
tailwind
bg-[hsl(168,80%,8%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(168, 80%, 8%, 0.4);
css variable
--color-primary: hsl(168, 80%, 8%);
Related Colors
Use Cases for Very Dark Cyan
Frequently Asked Questions
What are all the color codes for HSL(168, 80%, 8%)?
HEX: #04251E | RGB: rgb(4, 37, 30) | CMYK: 89%, 0%, 19%, 85% | HSV: 167°, 89%, 15%. Copy any format from the conversion table above.
What colors go well with #04251E?
The complementary color is HSL(348, 80%, 8%). For a triadic harmony, use hues 168°, 288°, and 48°. For analogous combinations, try hues 138° and 198°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(168, 80%, 8%) in CSS?
As HSL: color: hsl(168, 80%, 8%); — As HEX: color: #04251E; — As RGB: color: rgb(4, 37, 30); — Tailwind CSS: bg-[hsl(168,80%,8%)] — CSS variable: --color-primary: hsl(168, 80%, 8%);