HSL(161, 37%, 27%)
Cyan — Cyan color
Adjust Color
Color Information
Color Name
Cyan
Color Family
Cyan
Warm / Cool
🔵 Cool
Temperature
7000K
CSS Class
bg-[hsl(161,37%,27%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(161, 37%, 27%) | color: hsl(161, 37%, 27%) | |
| HEX | #2B5E4E | color: #2B5E4E | |
| RGB | rgb(43, 94, 78) | color: rgb(43, 94, 78) | |
| CMYK | cmyk(54%, 0%, 17%, 63%) | — | |
| HSV | hsv(161, 54%, 37%) | — | |
| HWB | hwb(161 17% 63%) | color: hwb(161 17% 63%) | |
| OKLCH | oklch(0.4415 0.0616 170.5) | color: oklch(0.4415 0.0616 170.5) | |
| Lab | lab(36.12 -21.5 3.97) | color: lab(36.12 -21.5 3.97) | |
| LCH | lch(36.12 21.86 169.54) | color: lch(36.12 21.86 169.54) |
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)
#414252 — rgb(65, 66, 82)
Deuteranopia (Green-blind)
#3E3A53 — rgb(62, 58, 83)
Tritanopia (Blue-blind)
#2E5556 — rgb(46, 85, 86)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(161, 37%, 27%);
text
color: hsl(161, 37%, 27%);
border
border: 2px solid hsl(161, 37%, 27%);
gradient light
background: linear-gradient(to right, hsl(161, 37%, 47%), hsl(161, 37%, 27%));
gradient dark
background: linear-gradient(to right, hsl(161, 37%, 27%), hsl(161, 37%, 7%))
hex
background-color: #2B5E4E;
tailwind
bg-[hsl(161,37%,27%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(161, 37%, 27%, 0.4);
css variable
--color-primary: hsl(161, 37%, 27%);
Related Colors
Use Cases for Cyan
Frequently Asked Questions
What are all the color codes for HSL(161, 37%, 27%)?
HEX: #2B5E4E | RGB: rgb(43, 94, 78) | CMYK: 54%, 0%, 17%, 63% | HSV: 161°, 54%, 37%. Copy any format from the conversion table above.
What colors go well with #2B5E4E?
The complementary color is HSL(341, 37%, 27%). For a triadic harmony, use hues 161°, 281°, and 41°. For analogous combinations, try hues 131° and 191°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(161, 37%, 27%) in CSS?
As HSL: color: hsl(161, 37%, 27%); — As HEX: color: #2B5E4E; — As RGB: color: rgb(43, 94, 78); — Tailwind CSS: bg-[hsl(161,37%,27%)] — CSS variable: --color-primary: hsl(161, 37%, 27%);