HSL(181, 20%, 23%)
Cyan — Cyan color
Adjust Color
Color Information
Color Name
Cyan
Color Family
Cyan
Warm / Cool
🔵 Cool
Temperature
7000K
CSS Class
bg-[hsl(181,20%,23%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(181, 20%, 23%) | color: hsl(181, 20%, 23%) | |
| HEX | #2F4646 | color: #2F4646 | |
| RGB | rgb(47, 70, 70) | color: rgb(47, 70, 70) | |
| CMYK | cmyk(33%, 0%, 0%, 73%) | — | |
| HSV | hsv(180, 33%, 27%) | — | |
| HWB | hwb(180 18% 73%) | color: hwb(180 18% 73%) | |
| OKLCH | oklch(0.3753 0.0285 196) | color: oklch(0.3753 0.0285 196) | |
| Lab | lab(27.92 -8.85 -2.87) | color: lab(27.92 -8.85 -2.87) | |
| LCH | lch(27.92 9.3 197.97) | color: lch(27.92 9.3 197.97) |
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)
#393946 — rgb(57, 57, 70)
Deuteranopia (Green-blind)
#383646 — rgb(56, 54, 70)
Tritanopia (Blue-blind)
#304646 — rgb(48, 70, 70)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(181, 20%, 23%);
text
color: hsl(181, 20%, 23%);
border
border: 2px solid hsl(181, 20%, 23%);
gradient light
background: linear-gradient(to right, hsl(181, 20%, 43%), hsl(181, 20%, 23%));
gradient dark
background: linear-gradient(to right, hsl(181, 20%, 23%), hsl(181, 20%, 3%))
hex
background-color: #2F4646;
tailwind
bg-[hsl(181,20%,23%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(181, 20%, 23%, 0.4);
css variable
--color-primary: hsl(181, 20%, 23%);
Related Colors
Use Cases for Cyan
Frequently Asked Questions
What are all the color codes for HSL(181, 20%, 23%)?
HEX: #2F4646 | RGB: rgb(47, 70, 70) | CMYK: 33%, 0%, 0%, 73% | HSV: 180°, 33%, 27%. Copy any format from the conversion table above.
What colors go well with #2F4646?
The complementary color is HSL(1, 20%, 23%). For a triadic harmony, use hues 181°, 301°, and 61°. For analogous combinations, try hues 151° and 211°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(181, 20%, 23%) in CSS?
As HSL: color: hsl(181, 20%, 23%); — As HEX: color: #2F4646; — As RGB: color: rgb(47, 70, 70); — Tailwind CSS: bg-[hsl(181,20%,23%)] — CSS variable: --color-primary: hsl(181, 20%, 23%);