HSL(157, 26%, 84%)
Cyan — Cyan color
Adjust Color
Color Information
Color Name
Cyan
Color Family
Cyan
Warm / Cool
🔵 Cool
Temperature
7000K
CSS Class
bg-[hsl(157,26%,84%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(157, 26%, 84%) | color: hsl(157, 26%, 84%) | |
| HEX | #CCE1D9 | color: #CCE1D9 | |
| RGB | rgb(204, 225, 217) | color: rgb(204, 225, 217) | |
| CMYK | cmyk(9%, 0%, 4%, 12%) | — | |
| HSV | hsv(157, 9%, 88%) | — | |
| HWB | hwb(157 80% 12%) | color: hwb(157 80% 12%) | |
| OKLCH | oklch(0.8919 0.0248 170.9) | color: oklch(0.8919 0.0248 170.9) | |
| Lab | lab(87.82 -8.47 1.53) | color: lab(87.82 -8.47 1.53) | |
| LCH | lch(87.82 8.61 169.76) | color: lch(87.82 8.61 169.76) |
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)
#D5D5DB — rgb(213, 213, 219)
Deuteranopia (Green-blind)
#D4D2DB — rgb(212, 210, 219)
Tritanopia (Blue-blind)
#CDDCDD — rgb(205, 220, 221)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(157, 26%, 84%);
text
color: hsl(157, 26%, 84%);
border
border: 2px solid hsl(157, 26%, 84%);
gradient light
background: linear-gradient(to right, hsl(157, 26%, 100%), hsl(157, 26%, 84%));
gradient dark
background: linear-gradient(to right, hsl(157, 26%, 84%), hsl(157, 26%, 64%))
hex
background-color: #CCE1D9;
tailwind
bg-[hsl(157,26%,84%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(157, 26%, 84%, 0.4);
css variable
--color-primary: hsl(157, 26%, 84%);
Related Colors
Use Cases for Cyan
Frequently Asked Questions
What are all the color codes for HSL(157, 26%, 84%)?
HEX: #CCE1D9 | RGB: rgb(204, 225, 217) | CMYK: 9%, 0%, 4%, 12% | HSV: 157°, 9%, 88%. Copy any format from the conversion table above.
What colors go well with #CCE1D9?
The complementary color is HSL(337, 26%, 84%). For a triadic harmony, use hues 157°, 277°, and 37°. For analogous combinations, try hues 127° and 187°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(157, 26%, 84%) in CSS?
As HSL: color: hsl(157, 26%, 84%); — As HEX: color: #CCE1D9; — As RGB: color: rgb(204, 225, 217); — Tailwind CSS: bg-[hsl(157,26%,84%)] — CSS variable: --color-primary: hsl(157, 26%, 84%);