HSL(158, 31%, 77%)
Cyan — Cyan color
Adjust Color
Color Information
Color Name
Cyan
Color Family
Cyan
Warm / Cool
🔵 Cool
Temperature
7000K
CSS Class
bg-[hsl(158,31%,77%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(158, 31%, 77%) | color: hsl(158, 31%, 77%) | |
| HEX | #B2D7C9 | color: #B2D7C9 | |
| RGB | rgb(178, 215, 201) | color: rgb(178, 215, 201) | |
| CMYK | cmyk(17%, 0%, 7%, 16%) | — | |
| HSV | hsv(157, 17%, 84%) | — | |
| HWB | hwb(157 70% 16%) | color: hwb(157 70% 16%) | |
| OKLCH | oklch(0.8485 0.0436 170.31) | color: oklch(0.8485 0.0436 170.31) | |
| Lab | lab(83.06 -14.93 2.86) | color: lab(83.06 -14.93 2.86) | |
| LCH | lch(83.06 15.2 169.16) | color: lch(83.06 15.2 169.16) |
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)
#C2C2CC — rgb(194, 194, 204)
Deuteranopia (Green-blind)
#C0BDCD — rgb(192, 189, 205)
Tritanopia (Blue-blind)
#B4CFD0 — rgb(180, 207, 208)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(158, 31%, 77%);
text
color: hsl(158, 31%, 77%);
border
border: 2px solid hsl(158, 31%, 77%);
gradient light
background: linear-gradient(to right, hsl(158, 31%, 97%), hsl(158, 31%, 77%));
gradient dark
background: linear-gradient(to right, hsl(158, 31%, 77%), hsl(158, 31%, 57%))
hex
background-color: #B2D7C9;
tailwind
bg-[hsl(158,31%,77%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(158, 31%, 77%, 0.4);
css variable
--color-primary: hsl(158, 31%, 77%);
Related Colors
Use Cases for Cyan
Frequently Asked Questions
What are all the color codes for HSL(158, 31%, 77%)?
HEX: #B2D7C9 | RGB: rgb(178, 215, 201) | CMYK: 17%, 0%, 7%, 16% | HSV: 157°, 17%, 84%. Copy any format from the conversion table above.
What colors go well with #B2D7C9?
The complementary color is HSL(338, 31%, 77%). 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, 31%, 77%) in CSS?
As HSL: color: hsl(158, 31%, 77%); — As HEX: color: #B2D7C9; — As RGB: color: rgb(178, 215, 201); — Tailwind CSS: bg-[hsl(158,31%,77%)] — CSS variable: --color-primary: hsl(158, 31%, 77%);