HSL(158, 23%, 28%)
Cyan — Cyan color
Adjust Color
Color Information
Color Name
Cyan
Color Family
Cyan
Warm / Cool
🔵 Cool
Temperature
7000K
CSS Class
bg-[hsl(158,23%,28%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(158, 23%, 28%) | color: hsl(158, 23%, 28%) | |
| HEX | #37584C | color: #37584C | |
| RGB | rgb(55, 88, 76) | color: rgb(55, 88, 76) | |
| CMYK | cmyk(38%, 0%, 14%, 65%) | — | |
| HSV | hsv(158, 38%, 35%) | — | |
| HWB | hwb(158 22% 65%) | color: hwb(158 22% 65%) | |
| OKLCH | oklch(0.4309 0.0437 169.33) | color: oklch(0.4309 0.0437 169.33) | |
| Lab | lab(34.63 -15.13 3.16) | color: lab(34.63 -15.13 3.16) | |
| LCH | lch(34.63 15.46 168.2) | color: lch(34.63 15.46 168.2) |
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)
#45464F — rgb(69, 70, 79)
Deuteranopia (Green-blind)
#434150 — rgb(67, 65, 80)
Tritanopia (Blue-blind)
#395152 — rgb(57, 81, 82)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(158, 23%, 28%);
text
color: hsl(158, 23%, 28%);
border
border: 2px solid hsl(158, 23%, 28%);
gradient light
background: linear-gradient(to right, hsl(158, 23%, 48%), hsl(158, 23%, 28%));
gradient dark
background: linear-gradient(to right, hsl(158, 23%, 28%), hsl(158, 23%, 8%))
hex
background-color: #37584C;
tailwind
bg-[hsl(158,23%,28%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(158, 23%, 28%, 0.4);
css variable
--color-primary: hsl(158, 23%, 28%);
Related Colors
Use Cases for Cyan
Frequently Asked Questions
What are all the color codes for HSL(158, 23%, 28%)?
HEX: #37584C | RGB: rgb(55, 88, 76) | CMYK: 38%, 0%, 14%, 65% | HSV: 158°, 38%, 35%. Copy any format from the conversion table above.
What colors go well with #37584C?
The complementary color is HSL(338, 23%, 28%). For a triadic harmony, use hues 158°, 278°, and 38°. For analogous combinations, try hues 128° and 188°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(158, 23%, 28%) in CSS?
As HSL: color: hsl(158, 23%, 28%); — As HEX: color: #37584C; — As RGB: color: rgb(55, 88, 76); — Tailwind CSS: bg-[hsl(158,23%,28%)] — CSS variable: --color-primary: hsl(158, 23%, 28%);