HSL(158, 28%, 78%)
Cyan — Cyan color
Adjust Color
Color Information
Color Name
Cyan
Color Family
Cyan
Warm / Cool
🔵 Cool
Temperature
7000K
CSS Class
bg-[hsl(158,28%,78%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(158, 28%, 78%) | color: hsl(158, 28%, 78%) | |
| HEX | #B7D7CB | color: #B7D7CB | |
| RGB | rgb(183, 215, 203) | color: rgb(183, 215, 203) | |
| CMYK | cmyk(15%, 0%, 6%, 16%) | — | |
| HSV | hsv(158, 15%, 84%) | — | |
| HWB | hwb(158 71% 16%) | color: hwb(158 71% 16%) | |
| OKLCH | oklch(0.8524 0.0378 170.73) | color: oklch(0.8524 0.0378 170.73) | |
| Lab | lab(83.43 -12.92 2.37) | color: lab(83.43 -12.92 2.37) | |
| LCH | lch(83.43 13.14 169.61) | color: lch(83.43 13.14 169.61) |
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)
#C5C5CE — rgb(197, 197, 206)
Deuteranopia (Green-blind)
#C3C1CF — rgb(195, 193, 207)
Tritanopia (Blue-blind)
#B9D0D1 — rgb(185, 208, 209)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(158, 28%, 78%);
text
color: hsl(158, 28%, 78%);
border
border: 2px solid hsl(158, 28%, 78%);
gradient light
background: linear-gradient(to right, hsl(158, 28%, 98%), hsl(158, 28%, 78%));
gradient dark
background: linear-gradient(to right, hsl(158, 28%, 78%), hsl(158, 28%, 58%))
hex
background-color: #B7D7CB;
tailwind
bg-[hsl(158,28%,78%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(158, 28%, 78%, 0.4);
css variable
--color-primary: hsl(158, 28%, 78%);
Related Colors
Use Cases for Cyan
Frequently Asked Questions
What are all the color codes for HSL(158, 28%, 78%)?
HEX: #B7D7CB | RGB: rgb(183, 215, 203) | CMYK: 15%, 0%, 6%, 16% | HSV: 158°, 15%, 84%. Copy any format from the conversion table above.
What colors go well with #B7D7CB?
The complementary color is HSL(338, 28%, 78%). 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, 28%, 78%) in CSS?
As HSL: color: hsl(158, 28%, 78%); — As HEX: color: #B7D7CB; — As RGB: color: rgb(183, 215, 203); — Tailwind CSS: bg-[hsl(158,28%,78%)] — CSS variable: --color-primary: hsl(158, 28%, 78%);