HSL(166, 30%, 23%)
Cyan — Cyan color
Adjust Color
Color Information
Color Name
Cyan
Color Family
Cyan
Warm / Cool
🔵 Cool
Temperature
7000K
CSS Class
bg-[hsl(166,30%,23%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(166, 30%, 23%) | color: hsl(166, 30%, 23%) | |
| HEX | #294C44 | color: #294C44 | |
| RGB | rgb(41, 76, 68) | color: rgb(41, 76, 68) | |
| CMYK | cmyk(46%, 0%, 11%, 70%) | — | |
| HSV | hsv(166, 46%, 30%) | — | |
| HWB | hwb(166 16% 70%) | color: hwb(166 16% 70%) | |
| OKLCH | oklch(0.3873 0.0433 177.52) | color: oklch(0.3873 0.0433 177.52) | |
| Lab | lab(29.56 -14.92 0.79) | color: lab(29.56 -14.92 0.79) | |
| LCH | lch(29.56 14.94 176.97) | color: lch(29.56 14.94 176.97) |
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)
#383846 — rgb(56, 56, 70)
Deuteranopia (Green-blind)
#363446 — rgb(54, 52, 70)
Tritanopia (Blue-blind)
#2B4748 — rgb(43, 71, 72)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(166, 30%, 23%);
text
color: hsl(166, 30%, 23%);
border
border: 2px solid hsl(166, 30%, 23%);
gradient light
background: linear-gradient(to right, hsl(166, 30%, 43%), hsl(166, 30%, 23%));
gradient dark
background: linear-gradient(to right, hsl(166, 30%, 23%), hsl(166, 30%, 3%))
hex
background-color: #294C44;
tailwind
bg-[hsl(166,30%,23%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(166, 30%, 23%, 0.4);
css variable
--color-primary: hsl(166, 30%, 23%);
Related Colors
Use Cases for Cyan
Frequently Asked Questions
What are all the color codes for HSL(166, 30%, 23%)?
HEX: #294C44 | RGB: rgb(41, 76, 68) | CMYK: 46%, 0%, 11%, 70% | HSV: 166°, 46%, 30%. Copy any format from the conversion table above.
What colors go well with #294C44?
The complementary color is HSL(346, 30%, 23%). 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, 30%, 23%) in CSS?
As HSL: color: hsl(166, 30%, 23%); — As HEX: color: #294C44; — As RGB: color: rgb(41, 76, 68); — Tailwind CSS: bg-[hsl(166,30%,23%)] — CSS variable: --color-primary: hsl(166, 30%, 23%);