HSL(151, 25%, 17%)
Cyan — Cyan color
Adjust Color
Color Information
Color Name
Cyan
Color Family
Cyan
Warm / Cool
🔵 Cool
Temperature
7000K
CSS Class
bg-[hsl(151,25%,17%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(151, 25%, 17%) | color: hsl(151, 25%, 17%) | |
| HEX | #21362C | color: #21362C | |
| RGB | rgb(33, 54, 44) | color: rgb(33, 54, 44) | |
| CMYK | cmyk(39%, 0%, 19%, 79%) | — | |
| HSV | hsv(151, 39%, 21%) | — | |
| HWB | hwb(151 13% 79%) | color: hwb(151 13% 79%) | |
| OKLCH | oklch(0.3116 0.0325 163.16) | color: oklch(0.3116 0.0325 163.16) | |
| Lab | lab(20.61 -11.09 3.65) | color: lab(20.61 -11.09 3.65) | |
| LCH | lch(20.61 11.68 161.78) | color: lch(20.61 11.68 161.78) |
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)
#2A2A2E — rgb(42, 42, 46)
Deuteranopia (Green-blind)
#29272F — rgb(41, 39, 47)
Tritanopia (Blue-blind)
#223031 — rgb(34, 48, 49)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(151, 25%, 17%);
text
color: hsl(151, 25%, 17%);
border
border: 2px solid hsl(151, 25%, 17%);
gradient light
background: linear-gradient(to right, hsl(151, 25%, 37%), hsl(151, 25%, 17%));
gradient dark
background: linear-gradient(to right, hsl(151, 25%, 17%), hsl(151, 25%, 0%))
hex
background-color: #21362C;
tailwind
bg-[hsl(151,25%,17%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(151, 25%, 17%, 0.4);
css variable
--color-primary: hsl(151, 25%, 17%);
Related Colors
Use Cases for Cyan
Frequently Asked Questions
What are all the color codes for HSL(151, 25%, 17%)?
HEX: #21362C | RGB: rgb(33, 54, 44) | CMYK: 39%, 0%, 19%, 79% | HSV: 151°, 39%, 21%. Copy any format from the conversion table above.
What colors go well with #21362C?
The complementary color is HSL(331, 25%, 17%). For a triadic harmony, use hues 151°, 271°, and 31°. For analogous combinations, try hues 121° and 181°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(151, 25%, 17%) in CSS?
As HSL: color: hsl(151, 25%, 17%); — As HEX: color: #21362C; — As RGB: color: rgb(33, 54, 44); — Tailwind CSS: bg-[hsl(151,25%,17%)] — CSS variable: --color-primary: hsl(151, 25%, 17%);