HSL(163, 34%, 21%)
Cyan — Cyan color
Adjust Color
Color Information
Color Name
Cyan
Color Family
Cyan
Warm / Cool
🔵 Cool
Temperature
7000K
CSS Class
bg-[hsl(163,34%,21%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(163, 34%, 21%) | color: hsl(163, 34%, 21%) | |
| HEX | #23483D | color: #23483D | |
| RGB | rgb(35, 72, 61) | color: rgb(35, 72, 61) | |
| CMYK | cmyk(51%, 0%, 15%, 72%) | — | |
| HSV | hsv(162, 51%, 28%) | — | |
| HWB | hwb(162 14% 72%) | color: hwb(162 14% 72%) | |
| OKLCH | oklch(0.3704 0.0471 172.19) | color: oklch(0.3704 0.0471 172.19) | |
| Lab | lab(27.65 -16.4 2.52) | color: lab(27.65 -16.4 2.52) | |
| LCH | lch(27.65 16.59 171.26) | color: lch(27.65 16.59 171.26) |
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)
#333340 — rgb(51, 51, 64)
Deuteranopia (Green-blind)
#312E40 — rgb(49, 46, 64)
Tritanopia (Blue-blind)
#254242 — rgb(37, 66, 66)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(163, 34%, 21%);
text
color: hsl(163, 34%, 21%);
border
border: 2px solid hsl(163, 34%, 21%);
gradient light
background: linear-gradient(to right, hsl(163, 34%, 41%), hsl(163, 34%, 21%));
gradient dark
background: linear-gradient(to right, hsl(163, 34%, 21%), hsl(163, 34%, 1%))
hex
background-color: #23483D;
tailwind
bg-[hsl(163,34%,21%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(163, 34%, 21%, 0.4);
css variable
--color-primary: hsl(163, 34%, 21%);
Related Colors
Use Cases for Cyan
Frequently Asked Questions
What are all the color codes for HSL(163, 34%, 21%)?
HEX: #23483D | RGB: rgb(35, 72, 61) | CMYK: 51%, 0%, 15%, 72% | HSV: 162°, 51%, 28%. Copy any format from the conversion table above.
What colors go well with #23483D?
The complementary color is HSL(343, 34%, 21%). For a triadic harmony, use hues 163°, 283°, and 43°. For analogous combinations, try hues 133° and 193°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(163, 34%, 21%) in CSS?
As HSL: color: hsl(163, 34%, 21%); — As HEX: color: #23483D; — As RGB: color: rgb(35, 72, 61); — Tailwind CSS: bg-[hsl(163,34%,21%)] — CSS variable: --color-primary: hsl(163, 34%, 21%);