HSL(185, 50%, 79%)
Cyan — Cyan color
Adjust Color
Color Information
Color Name
Cyan
Color Family
Cyan
Warm / Cool
🔵 Cool
Temperature
7000K
CSS Class
bg-[hsl(185,50%,79%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(185, 50%, 79%) | color: hsl(185, 50%, 79%) | |
| HEX | #AFE0E4 | color: #AFE0E4 | |
| RGB | rgb(175, 224, 228) | color: rgb(175, 224, 228) | |
| CMYK | cmyk(23%, 2%, 0%, 11%) | — | |
| HSV | hsv(185, 23%, 89%) | — | |
| HWB | hwb(185 69% 11%) | color: hwb(185 69% 11%) | |
| OKLCH | oklch(0.8738 0.0508 202.48) | color: oklch(0.8738 0.0508 202.48) | |
| Lab | lab(86.02 -14.82 -7.13) | color: lab(86.02 -14.82 -7.13) | |
| LCH | lch(86.02 16.45 205.69) | color: lch(86.02 16.45 205.69) |
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)
#C4C5E3 — rgb(196, 197, 227)
Deuteranopia (Green-blind)
#C1BEE3 — rgb(193, 190, 227)
Tritanopia (Blue-blind)
#B1E2E2 — rgb(177, 226, 226)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(185, 50%, 79%);
text
color: hsl(185, 50%, 79%);
border
border: 2px solid hsl(185, 50%, 79%);
gradient light
background: linear-gradient(to right, hsl(185, 50%, 99%), hsl(185, 50%, 79%));
gradient dark
background: linear-gradient(to right, hsl(185, 50%, 79%), hsl(185, 50%, 59%))
hex
background-color: #AFE0E4;
tailwind
bg-[hsl(185,50%,79%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(185, 50%, 79%, 0.4);
css variable
--color-primary: hsl(185, 50%, 79%);
Related Colors
Use Cases for Cyan
Frequently Asked Questions
What are all the color codes for HSL(185, 50%, 79%)?
HEX: #AFE0E4 | RGB: rgb(175, 224, 228) | CMYK: 23%, 2%, 0%, 11% | HSV: 185°, 23%, 89%. Copy any format from the conversion table above.
What colors go well with #AFE0E4?
The complementary color is HSL(5, 50%, 79%). For a triadic harmony, use hues 185°, 305°, and 65°. For analogous combinations, try hues 155° and 215°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(185, 50%, 79%) in CSS?
As HSL: color: hsl(185, 50%, 79%); — As HEX: color: #AFE0E4; — As RGB: color: rgb(175, 224, 228); — Tailwind CSS: bg-[hsl(185,50%,79%)] — CSS variable: --color-primary: hsl(185, 50%, 79%);