HSL(166, 50%, 30%)
Cyan — Cyan color
Adjust Color
Color Information
Color Name
Cyan
Color Family
Cyan
Warm / Cool
🔵 Cool
Temperature
7000K
CSS Class
bg-[hsl(166,50%,30%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(166, 50%, 30%) | color: hsl(166, 50%, 30%) | |
| HEX | #267361 | color: #267361 | |
| RGB | rgb(38, 115, 97) | color: rgb(38, 115, 97) | |
| CMYK | cmyk(67%, 0%, 16%, 55%) | — | |
| HSV | hsv(166, 67%, 45%) | — | |
| HWB | hwb(166 15% 55%) | color: hwb(166 15% 55%) | |
| OKLCH | oklch(0.5033 0.0802 174.42) | color: oklch(0.5033 0.0802 174.42) | |
| Lab | lab(43.56 -28.1 3.11) | color: lab(43.56 -28.1 3.11) | |
| LCH | lch(43.56 28.27 173.68) | color: lch(43.56 28.27 173.68) |
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)
#474865 — rgb(71, 72, 101)
Deuteranopia (Green-blind)
#433D66 — rgb(67, 61, 102)
Tritanopia (Blue-blind)
#2A696A — rgb(42, 105, 106)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(166, 50%, 30%);
text
color: hsl(166, 50%, 30%);
border
border: 2px solid hsl(166, 50%, 30%);
gradient light
background: linear-gradient(to right, hsl(166, 50%, 50%), hsl(166, 50%, 30%));
gradient dark
background: linear-gradient(to right, hsl(166, 50%, 30%), hsl(166, 50%, 10%))
hex
background-color: #267361;
tailwind
bg-[hsl(166,50%,30%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(166, 50%, 30%, 0.4);
css variable
--color-primary: hsl(166, 50%, 30%);
Related Colors
Use Cases for Cyan
Frequently Asked Questions
What are all the color codes for HSL(166, 50%, 30%)?
HEX: #267361 | RGB: rgb(38, 115, 97) | CMYK: 67%, 0%, 16%, 55% | HSV: 166°, 67%, 45%. Copy any format from the conversion table above.
What colors go well with #267361?
The complementary color is HSL(346, 50%, 30%). 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, 50%, 30%) in CSS?
As HSL: color: hsl(166, 50%, 30%); — As HEX: color: #267361; — As RGB: color: rgb(38, 115, 97); — Tailwind CSS: bg-[hsl(166,50%,30%)] — CSS variable: --color-primary: hsl(166, 50%, 30%);