HSL(188, 59%, 20%)
Cyan — Cyan color
Adjust Color
Color Information
Color Name
Cyan
Color Family
Cyan
Warm / Cool
🔵 Cool
Temperature
7000K
CSS Class
bg-[hsl(188,59%,20%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(188, 59%, 20%) | color: hsl(188, 59%, 20%) | |
| HEX | #154951 | color: #154951 | |
| RGB | rgb(21, 73, 81) | color: rgb(21, 73, 81) | |
| CMYK | cmyk(74%, 10%, 0%, 68%) | — | |
| HSV | hsv(188, 74%, 32%) | — | |
| HWB | hwb(188 8% 68%) | color: hwb(188 8% 68%) | |
| OKLCH | oklch(0.3753 0.055 209.56) | color: oklch(0.3753 0.055 209.56) | |
| Lab | lab(28.16 -13.92 -9.76) | color: lab(28.16 -13.92 -9.76) | |
| LCH | lch(28.16 17 215.04) | color: lch(28.16 17 215.04) |
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)
#2C2C4F — rgb(44, 44, 79)
Deuteranopia (Green-blind)
#29254F — rgb(41, 37, 79)
Tritanopia (Blue-blind)
#184E4D — rgb(24, 78, 77)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(188, 59%, 20%);
text
color: hsl(188, 59%, 20%);
border
border: 2px solid hsl(188, 59%, 20%);
gradient light
background: linear-gradient(to right, hsl(188, 59%, 40%), hsl(188, 59%, 20%));
gradient dark
background: linear-gradient(to right, hsl(188, 59%, 20%), hsl(188, 59%, 0%))
hex
background-color: #154951;
tailwind
bg-[hsl(188,59%,20%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(188, 59%, 20%, 0.4);
css variable
--color-primary: hsl(188, 59%, 20%);
Related Colors
Use Cases for Cyan
Frequently Asked Questions
What are all the color codes for HSL(188, 59%, 20%)?
HEX: #154951 | RGB: rgb(21, 73, 81) | CMYK: 74%, 10%, 0%, 68% | HSV: 188°, 74%, 32%. Copy any format from the conversion table above.
What colors go well with #154951?
The complementary color is HSL(8, 59%, 20%). For a triadic harmony, use hues 188°, 308°, and 68°. For analogous combinations, try hues 158° and 218°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(188, 59%, 20%) in CSS?
As HSL: color: hsl(188, 59%, 20%); — As HEX: color: #154951; — As RGB: color: rgb(21, 73, 81); — Tailwind CSS: bg-[hsl(188,59%,20%)] — CSS variable: --color-primary: hsl(188, 59%, 20%);