HSL(153, 42%, 22%)
Cyan — Cyan color
Adjust Color
Color Information
Color Name
Cyan
Color Family
Cyan
Warm / Cool
🔵 Cool
Temperature
7000K
CSS Class
bg-[hsl(153,42%,22%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(153, 42%, 22%) | color: hsl(153, 42%, 22%) | |
| HEX | #21503A | color: #21503A | |
| RGB | rgb(33, 80, 58) | color: rgb(33, 80, 58) | |
| CMYK | cmyk(59%, 0%, 28%, 69%) | — | |
| HSV | hsv(152, 59%, 31%) | — | |
| HWB | hwb(152 13% 69%) | color: hwb(152 13% 69%) | |
| OKLCH | oklch(0.3915 0.0642 160.94) | color: oklch(0.3915 0.0642 160.94) | |
| Lab | lab(30.32 -22.05 8.21) | color: lab(30.32 -22.05 8.21) | |
| LCH | lch(30.32 23.53 159.58) | color: lch(30.32 23.53 159.58) |
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)
#35363F — rgb(53, 54, 63)
Deuteranopia (Green-blind)
#332F41 — rgb(51, 47, 65)
Tritanopia (Blue-blind)
#234444 — rgb(35, 68, 68)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(153, 42%, 22%);
text
color: hsl(153, 42%, 22%);
border
border: 2px solid hsl(153, 42%, 22%);
gradient light
background: linear-gradient(to right, hsl(153, 42%, 42%), hsl(153, 42%, 22%));
gradient dark
background: linear-gradient(to right, hsl(153, 42%, 22%), hsl(153, 42%, 2%))
hex
background-color: #21503A;
tailwind
bg-[hsl(153,42%,22%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(153, 42%, 22%, 0.4);
css variable
--color-primary: hsl(153, 42%, 22%);
Related Colors
Use Cases for Cyan
Frequently Asked Questions
What are all the color codes for HSL(153, 42%, 22%)?
HEX: #21503A | RGB: rgb(33, 80, 58) | CMYK: 59%, 0%, 28%, 69% | HSV: 152°, 59%, 31%. Copy any format from the conversion table above.
What colors go well with #21503A?
The complementary color is HSL(333, 42%, 22%). For a triadic harmony, use hues 153°, 273°, and 33°. For analogous combinations, try hues 123° and 183°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(153, 42%, 22%) in CSS?
As HSL: color: hsl(153, 42%, 22%); — As HEX: color: #21503A; — As RGB: color: rgb(33, 80, 58); — Tailwind CSS: bg-[hsl(153,42%,22%)] — CSS variable: --color-primary: hsl(153, 42%, 22%);