HSL(168, 21%, 43%)
Cyan — Cyan color
Adjust Color
Color Information
Color Name
Cyan
Color Family
Cyan
Warm / Cool
🔵 Cool
Temperature
7000K
CSS Class
bg-[hsl(168,21%,43%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(168, 21%, 43%) | color: hsl(168, 21%, 43%) | |
| HEX | #57857B | color: #57857B | |
| RGB | rgb(87, 133, 123) | color: rgb(87, 133, 123) | |
| CMYK | cmyk(35%, 0%, 8%, 48%) | — | |
| HSV | hsv(167, 35%, 52%) | — | |
| HWB | hwb(167 34% 48%) | color: hwb(167 34% 48%) | |
| OKLCH | oklch(0.5804 0.0528 179.15) | color: oklch(0.5804 0.0528 179.15) | |
| Lab | lab(52.1 -18.07 0.4) | color: lab(52.1 -18.07 0.4) | |
| LCH | lch(52.1 18.07 178.73) | color: lch(52.1 18.07 178.73) |
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: black
Color Blindness Simulation
Protanopia (Red-blind)
#6B6B7D — rgb(107, 107, 125)
Deuteranopia (Green-blind)
#68657E — rgb(104, 101, 126)
Tritanopia (Blue-blind)
#597F80 — rgb(89, 127, 128)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(168, 21%, 43%);
text
color: hsl(168, 21%, 43%);
border
border: 2px solid hsl(168, 21%, 43%);
gradient light
background: linear-gradient(to right, hsl(168, 21%, 63%), hsl(168, 21%, 43%));
gradient dark
background: linear-gradient(to right, hsl(168, 21%, 43%), hsl(168, 21%, 23%))
hex
background-color: #57857B;
tailwind
bg-[hsl(168,21%,43%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(168, 21%, 43%, 0.4);
css variable
--color-primary: hsl(168, 21%, 43%);
Related Colors
Use Cases for Cyan
Frequently Asked Questions
What are all the color codes for HSL(168, 21%, 43%)?
HEX: #57857B | RGB: rgb(87, 133, 123) | CMYK: 35%, 0%, 8%, 48% | HSV: 167°, 35%, 52%. Copy any format from the conversion table above.
What colors go well with #57857B?
The complementary color is HSL(348, 21%, 43%). For a triadic harmony, use hues 168°, 288°, and 48°. For analogous combinations, try hues 138° and 198°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(168, 21%, 43%) in CSS?
As HSL: color: hsl(168, 21%, 43%); — As HEX: color: #57857B; — As RGB: color: rgb(87, 133, 123); — Tailwind CSS: bg-[hsl(168,21%,43%)] — CSS variable: --color-primary: hsl(168, 21%, 43%);