HSL(182, 23%, 26%)
Cyan — Cyan color
Adjust Color
Color Information
Color Name
Cyan
Color Family
Cyan
Warm / Cool
🔵 Cool
Temperature
7000K
CSS Class
bg-[hsl(182,23%,26%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(182, 23%, 26%) | color: hsl(182, 23%, 26%) | |
| HEX | #335152 | color: #335152 | |
| RGB | rgb(51, 81, 82) | color: rgb(51, 81, 82) | |
| CMYK | cmyk(38%, 1%, 0%, 68%) | — | |
| HSV | hsv(182, 38%, 32%) | — | |
| HWB | hwb(182 20% 68%) | color: hwb(182 20% 68%) | |
| OKLCH | oklch(0.4119 0.0357 198.53) | color: oklch(0.4119 0.0357 198.53) | |
| Lab | lab(32.25 -10.8 -4.13) | color: lab(32.25 -10.8 -4.13) | |
| LCH | lch(32.25 11.56 200.93) | color: lch(32.25 11.56 200.93) |
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: white
Color Blindness Simulation
Protanopia (Red-blind)
#404052 — rgb(64, 64, 82)
Deuteranopia (Green-blind)
#3E3C52 — rgb(62, 60, 82)
Tritanopia (Blue-blind)
#355252 — rgb(53, 82, 82)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(182, 23%, 26%);
text
color: hsl(182, 23%, 26%);
border
border: 2px solid hsl(182, 23%, 26%);
gradient light
background: linear-gradient(to right, hsl(182, 23%, 46%), hsl(182, 23%, 26%));
gradient dark
background: linear-gradient(to right, hsl(182, 23%, 26%), hsl(182, 23%, 6%))
hex
background-color: #335152;
tailwind
bg-[hsl(182,23%,26%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(182, 23%, 26%, 0.4);
css variable
--color-primary: hsl(182, 23%, 26%);
Related Colors
Use Cases for Cyan
Frequently Asked Questions
What are all the color codes for HSL(182, 23%, 26%)?
HEX: #335152 | RGB: rgb(51, 81, 82) | CMYK: 38%, 1%, 0%, 68% | HSV: 182°, 38%, 32%. Copy any format from the conversion table above.
What colors go well with #335152?
The complementary color is HSL(2, 23%, 26%). For a triadic harmony, use hues 182°, 302°, and 62°. For analogous combinations, try hues 152° and 212°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(182, 23%, 26%) in CSS?
As HSL: color: hsl(182, 23%, 26%); — As HEX: color: #335152; — As RGB: color: rgb(51, 81, 82); — Tailwind CSS: bg-[hsl(182,23%,26%)] — CSS variable: --color-primary: hsl(182, 23%, 26%);