HSL(158, 20%, 18%)
Cyan — Cyan color
Adjust Color
Color Information
Color Name
Cyan
Color Family
Cyan
Warm / Cool
🔵 Cool
Temperature
7000K
CSS Class
bg-[hsl(158,20%,18%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(158, 20%, 18%) | color: hsl(158, 20%, 18%) | |
| HEX | #253730 | color: #253730 | |
| RGB | rgb(37, 55, 48) | color: rgb(37, 55, 48) | |
| CMYK | cmyk(33%, 0%, 13%, 78%) | — | |
| HSV | hsv(157, 33%, 22%) | — | |
| HWB | hwb(157 15% 78%) | color: hwb(157 15% 78%) | |
| OKLCH | oklch(0.3187 0.0266 168.58) | color: oklch(0.3187 0.0266 168.58) | |
| Lab | lab(21.35 -9.15 2.05) | color: lab(21.35 -9.15 2.05) | |
| LCH | lch(21.35 9.38 167.37) | color: lch(21.35 9.38 167.37) |
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)
#2D2D32 — rgb(45, 45, 50)
Deuteranopia (Green-blind)
#2C2A32 — rgb(44, 42, 50)
Tritanopia (Blue-blind)
#263333 — rgb(38, 51, 51)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(158, 20%, 18%);
text
color: hsl(158, 20%, 18%);
border
border: 2px solid hsl(158, 20%, 18%);
gradient light
background: linear-gradient(to right, hsl(158, 20%, 38%), hsl(158, 20%, 18%));
gradient dark
background: linear-gradient(to right, hsl(158, 20%, 18%), hsl(158, 20%, 0%))
hex
background-color: #253730;
tailwind
bg-[hsl(158,20%,18%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(158, 20%, 18%, 0.4);
css variable
--color-primary: hsl(158, 20%, 18%);
Related Colors
Use Cases for Cyan
Frequently Asked Questions
What are all the color codes for HSL(158, 20%, 18%)?
HEX: #253730 | RGB: rgb(37, 55, 48) | CMYK: 33%, 0%, 13%, 78% | HSV: 157°, 33%, 22%. Copy any format from the conversion table above.
What colors go well with #253730?
The complementary color is HSL(338, 20%, 18%). 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, 20%, 18%) in CSS?
As HSL: color: hsl(158, 20%, 18%); — As HEX: color: #253730; — As RGB: color: rgb(37, 55, 48); — Tailwind CSS: bg-[hsl(158,20%,18%)] — CSS variable: --color-primary: hsl(158, 20%, 18%);