HSL(166, 85%, 16%)
Cyan — Cyan color
Adjust Color
Color Information
Color Name
Cyan
Color Family
Cyan
Warm / Cool
🔵 Cool
Temperature
7000K
CSS Class
bg-[hsl(166,85%,16%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(166, 85%, 16%) | color: hsl(166, 85%, 16%) | |
| HEX | #064B3B | color: #064B3B | |
| RGB | rgb(6, 75, 59) | color: rgb(6, 75, 59) | |
| CMYK | cmyk(92%, 0%, 21%, 71%) | — | |
| HSV | hsv(166, 92%, 29%) | — | |
| HWB | hwb(166 2% 71%) | color: hwb(166 2% 71%) | |
| OKLCH | oklch(0.369 0.069 171.7) | color: oklch(0.369 0.069 171.7) | |
| Lab | lab(27.81 -24.4 3.92) | color: lab(27.81 -24.4 3.92) | |
| LCH | lch(27.81 24.71 170.87) | color: lch(27.81 24.71 170.87) |
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)
#24243F — rgb(36, 36, 63)
Deuteranopia (Green-blind)
#201B40 — rgb(32, 27, 64)
Tritanopia (Blue-blind)
#094243 — rgb(9, 66, 67)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(166, 85%, 16%);
text
color: hsl(166, 85%, 16%);
border
border: 2px solid hsl(166, 85%, 16%);
gradient light
background: linear-gradient(to right, hsl(166, 85%, 36%), hsl(166, 85%, 16%));
gradient dark
background: linear-gradient(to right, hsl(166, 85%, 16%), hsl(166, 85%, 0%))
hex
background-color: #064B3B;
tailwind
bg-[hsl(166,85%,16%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(166, 85%, 16%, 0.4);
css variable
--color-primary: hsl(166, 85%, 16%);
Related Colors
Use Cases for Cyan
Frequently Asked Questions
What are all the color codes for HSL(166, 85%, 16%)?
HEX: #064B3B | RGB: rgb(6, 75, 59) | CMYK: 92%, 0%, 21%, 71% | HSV: 166°, 92%, 29%. Copy any format from the conversion table above.
What colors go well with #064B3B?
The complementary color is HSL(346, 85%, 16%). 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, 85%, 16%) in CSS?
As HSL: color: hsl(166, 85%, 16%); — As HEX: color: #064B3B; — As RGB: color: rgb(6, 75, 59); — Tailwind CSS: bg-[hsl(166,85%,16%)] — CSS variable: --color-primary: hsl(166, 85%, 16%);