HSL(151, 26%, 16%)
Cyan — Cyan color
Adjust Color
Color Information
Color Name
Cyan
Color Family
Cyan
Warm / Cool
🔵 Cool
Temperature
7000K
CSS Class
bg-[hsl(151,26%,16%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(151, 26%, 16%) | color: hsl(151, 26%, 16%) | |
| HEX | #1E3329 | color: #1E3329 | |
| RGB | rgb(30, 51, 41) | color: rgb(30, 51, 41) | |
| CMYK | cmyk(41%, 0%, 20%, 80%) | — | |
| HSV | hsv(151, 41%, 20%) | — | |
| HWB | hwb(151 12% 80%) | color: hwb(151 12% 80%) | |
| OKLCH | oklch(0.2998 0.0327 162.99) | color: oklch(0.2998 0.0327 162.99) | |
| Lab | lab(19.24 -11.16 3.71) | color: lab(19.24 -11.16 3.71) | |
| LCH | lch(19.24 11.76 161.61) | color: lch(19.24 11.76 161.61) |
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)
#27272B — rgb(39, 39, 43)
Deuteranopia (Green-blind)
#26242C — rgb(38, 36, 44)
Tritanopia (Blue-blind)
#1F2D2E — rgb(31, 45, 46)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(151, 26%, 16%);
text
color: hsl(151, 26%, 16%);
border
border: 2px solid hsl(151, 26%, 16%);
gradient light
background: linear-gradient(to right, hsl(151, 26%, 36%), hsl(151, 26%, 16%));
gradient dark
background: linear-gradient(to right, hsl(151, 26%, 16%), hsl(151, 26%, 0%))
hex
background-color: #1E3329;
tailwind
bg-[hsl(151,26%,16%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(151, 26%, 16%, 0.4);
css variable
--color-primary: hsl(151, 26%, 16%);
Related Colors
Use Cases for Cyan
Frequently Asked Questions
What are all the color codes for HSL(151, 26%, 16%)?
HEX: #1E3329 | RGB: rgb(30, 51, 41) | CMYK: 41%, 0%, 20%, 80% | HSV: 151°, 41%, 20%. Copy any format from the conversion table above.
What colors go well with #1E3329?
The complementary color is HSL(331, 26%, 16%). 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, 26%, 16%) in CSS?
As HSL: color: hsl(151, 26%, 16%); — As HEX: color: #1E3329; — As RGB: color: rgb(30, 51, 41); — Tailwind CSS: bg-[hsl(151,26%,16%)] — CSS variable: --color-primary: hsl(151, 26%, 16%);