HSL(166, 25%, 15%)
Cyan — Cyan color
Adjust Color
Color Information
Color Name
Cyan
Color Family
Cyan
Warm / Cool
🔵 Cool
Temperature
7000K
CSS Class
bg-[hsl(166,25%,15%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(166, 25%, 15%) | color: hsl(166, 25%, 15%) | |
| HEX | #1D302B | color: #1D302B | |
| RGB | rgb(29, 48, 43) | color: rgb(29, 48, 43) | |
| CMYK | cmyk(40%, 0%, 10%, 81%) | — | |
| HSV | hsv(164, 40%, 19%) | — | |
| HWB | hwb(164 11% 81%) | color: hwb(164 11% 81%) | |
| OKLCH | oklch(0.291 0.0265 176.02) | color: oklch(0.291 0.0265 176.02) | |
| Lab | lab(18.14 -9.13 0.75) | color: lab(18.14 -9.13 0.75) | |
| LCH | lch(18.14 9.16 175.3) | color: lch(18.14 9.16 175.3) |
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)
#25252C — rgb(37, 37, 44)
Deuteranopia (Green-blind)
#24232D — rgb(36, 35, 45)
Tritanopia (Blue-blind)
#1E2D2D — rgb(30, 45, 45)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(166, 25%, 15%);
text
color: hsl(166, 25%, 15%);
border
border: 2px solid hsl(166, 25%, 15%);
gradient light
background: linear-gradient(to right, hsl(166, 25%, 35%), hsl(166, 25%, 15%));
gradient dark
background: linear-gradient(to right, hsl(166, 25%, 15%), hsl(166, 25%, 0%))
hex
background-color: #1D302B;
tailwind
bg-[hsl(166,25%,15%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(166, 25%, 15%, 0.4);
css variable
--color-primary: hsl(166, 25%, 15%);
Related Colors
Use Cases for Cyan
Frequently Asked Questions
What are all the color codes for HSL(166, 25%, 15%)?
HEX: #1D302B | RGB: rgb(29, 48, 43) | CMYK: 40%, 0%, 10%, 81% | HSV: 164°, 40%, 19%. Copy any format from the conversion table above.
What colors go well with #1D302B?
The complementary color is HSL(346, 25%, 15%). For a triadic harmony, use hues 166°, 286°, and 46°. For analogous combinations, try hues 136° and 196°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(166, 25%, 15%) in CSS?
As HSL: color: hsl(166, 25%, 15%); — As HEX: color: #1D302B; — As RGB: color: rgb(29, 48, 43); — Tailwind CSS: bg-[hsl(166,25%,15%)] — CSS variable: --color-primary: hsl(166, 25%, 15%);