HSL(157, 11%, 12%)
Very Dark Cyan — Cyan color
Adjust Color
Color Information
Color Name
Very Dark Cyan
Color Family
Cyan
Warm / Cool
🔵 Cool
Temperature
N/A
CSS Class
bg-[hsl(157,11%,12%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(157, 11%, 12%) | color: hsl(157, 11%, 12%) | |
| HEX | #1B221F | color: #1B221F | |
| RGB | rgb(27, 34, 31) | color: rgb(27, 34, 31) | |
| CMYK | cmyk(21%, 0%, 9%, 87%) | — | |
| HSV | hsv(154, 21%, 13%) | — | |
| HWB | hwb(154 10% 87%) | color: hwb(154 10% 87%) | |
| OKLCH | oklch(0.2438 0.0116 167.59) | color: oklch(0.2438 0.0116 167.59) | |
| Lab | lab(12.45 -3.96 0.97) | color: lab(12.45 -3.96 0.97) | |
| LCH | lch(12.45 4.08 166.24) | color: lch(12.45 4.08 166.24) |
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)
#1E1E20 — rgb(30, 30, 32)
Deuteranopia (Green-blind)
#1E1D20 — rgb(30, 29, 32)
Tritanopia (Blue-blind)
#1B2020 — rgb(27, 32, 32)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(157, 11%, 12%);
text
color: hsl(157, 11%, 12%);
border
border: 2px solid hsl(157, 11%, 12%);
gradient light
background: linear-gradient(to right, hsl(157, 11%, 32%), hsl(157, 11%, 12%));
gradient dark
background: linear-gradient(to right, hsl(157, 11%, 12%), hsl(157, 11%, 0%))
hex
background-color: #1B221F;
tailwind
bg-[hsl(157,11%,12%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(157, 11%, 12%, 0.4);
css variable
--color-primary: hsl(157, 11%, 12%);
Related Colors
Use Cases for Very Dark Cyan
Frequently Asked Questions
What are all the color codes for HSL(157, 11%, 12%)?
HEX: #1B221F | RGB: rgb(27, 34, 31) | CMYK: 21%, 0%, 9%, 87% | HSV: 154°, 21%, 13%. Copy any format from the conversion table above.
What colors go well with #1B221F?
The complementary color is HSL(337, 11%, 12%). For a triadic harmony, use hues 157°, 277°, and 37°. For analogous combinations, try hues 127° and 187°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(157, 11%, 12%) in CSS?
As HSL: color: hsl(157, 11%, 12%); — As HEX: color: #1B221F; — As RGB: color: rgb(27, 34, 31); — Tailwind CSS: bg-[hsl(157,11%,12%)] — CSS variable: --color-primary: hsl(157, 11%, 12%);