HSL(192, 26%, 24%)
Cyan — Cyan color
Adjust Color
Color Information
Color Name
Cyan
Color Family
Cyan
Warm / Cool
🔵 Cool
Temperature
7000K
CSS Class
bg-[hsl(192,26%,24%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(192, 26%, 24%) | color: hsl(192, 26%, 24%) | |
| HEX | #2D474D | color: #2D474D | |
| RGB | rgb(45, 71, 77) | color: rgb(45, 71, 77) | |
| CMYK | cmyk(42%, 8%, 0%, 70%) | — | |
| HSV | hsv(191, 42%, 30%) | — | |
| HWB | hwb(191 17% 70%) | color: hwb(191 17% 70%) | |
| OKLCH | oklch(0.3794 0.0332 213.78) | color: oklch(0.3794 0.0332 213.78) | |
| Lab | lab(28.38 -8.1 -6.74) | color: lab(28.38 -8.1 -6.74) | |
| LCH | lch(28.38 10.54 219.76) | color: lch(28.38 10.54 219.76) |
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)
#38384C — rgb(56, 56, 76)
Deuteranopia (Green-blind)
#37354B — rgb(55, 53, 75)
Tritanopia (Blue-blind)
#2E4A4A — rgb(46, 74, 74)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(192, 26%, 24%);
text
color: hsl(192, 26%, 24%);
border
border: 2px solid hsl(192, 26%, 24%);
gradient light
background: linear-gradient(to right, hsl(192, 26%, 44%), hsl(192, 26%, 24%));
gradient dark
background: linear-gradient(to right, hsl(192, 26%, 24%), hsl(192, 26%, 4%))
hex
background-color: #2D474D;
tailwind
bg-[hsl(192,26%,24%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(192, 26%, 24%, 0.4);
css variable
--color-primary: hsl(192, 26%, 24%);
Related Colors
Use Cases for Cyan
Frequently Asked Questions
What are all the color codes for HSL(192, 26%, 24%)?
HEX: #2D474D | RGB: rgb(45, 71, 77) | CMYK: 42%, 8%, 0%, 70% | HSV: 191°, 42%, 30%. Copy any format from the conversion table above.
What colors go well with #2D474D?
The complementary color is HSL(12, 26%, 24%). For a triadic harmony, use hues 192°, 312°, and 72°. For analogous combinations, try hues 162° and 222°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(192, 26%, 24%) in CSS?
As HSL: color: hsl(192, 26%, 24%); — As HEX: color: #2D474D; — As RGB: color: rgb(45, 71, 77); — Tailwind CSS: bg-[hsl(192,26%,24%)] — CSS variable: --color-primary: hsl(192, 26%, 24%);