HSL(166, 70%, 84%)
Cyan — Cyan color
Adjust Color
Color Information
Color Name
Cyan
Color Family
Cyan
Warm / Cool
🔵 Cool
Temperature
7000K
CSS Class
bg-[hsl(166,70%,84%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(166, 70%, 84%) | color: hsl(166, 70%, 84%) | |
| HEX | #BAF3E5 | color: #BAF3E5 | |
| RGB | rgb(186, 243, 229) | color: rgb(186, 243, 229) | |
| CMYK | cmyk(23%, 0%, 6%, 5%) | — | |
| HSV | hsv(165, 23%, 95%) | — | |
| HWB | hwb(165 73% 5%) | color: hwb(165 73% 5%) | |
| OKLCH | oklch(0.9214 0.0608 178.12) | color: oklch(0.9214 0.0608 178.12) | |
| Lab | lab(91.77 -20.79 0.87) | color: lab(91.77 -20.79 0.87) | |
| LCH | lch(91.77 20.81 177.6) | color: lch(91.77 20.81 177.6) |
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)
#D3D3E8 — rgb(211, 211, 232)
Deuteranopia (Green-blind)
#CFCBE9 — rgb(207, 203, 233)
Tritanopia (Blue-blind)
#BDEBEC — rgb(189, 235, 236)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(166, 70%, 84%);
text
color: hsl(166, 70%, 84%);
border
border: 2px solid hsl(166, 70%, 84%);
gradient light
background: linear-gradient(to right, hsl(166, 70%, 100%), hsl(166, 70%, 84%));
gradient dark
background: linear-gradient(to right, hsl(166, 70%, 84%), hsl(166, 70%, 64%))
hex
background-color: #BAF3E5;
tailwind
bg-[hsl(166,70%,84%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(166, 70%, 84%, 0.4);
css variable
--color-primary: hsl(166, 70%, 84%);
Related Colors
Use Cases for Cyan
Frequently Asked Questions
What are all the color codes for HSL(166, 70%, 84%)?
HEX: #BAF3E5 | RGB: rgb(186, 243, 229) | CMYK: 23%, 0%, 6%, 5% | HSV: 165°, 23%, 95%. Copy any format from the conversion table above.
What colors go well with #BAF3E5?
The complementary color is HSL(346, 70%, 84%). For a triadic harmony, use hues 166°, 286°, and 46°. For analogous combinations, try hues 136° and 196°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(166, 70%, 84%) in CSS?
As HSL: color: hsl(166, 70%, 84%); — As HEX: color: #BAF3E5; — As RGB: color: rgb(186, 243, 229); — Tailwind CSS: bg-[hsl(166,70%,84%)] — CSS variable: --color-primary: hsl(166, 70%, 84%);