HSL(189, 30%, 26%)
Cyan — Cyan color
Adjust Color
Color Information
Color Name
Cyan
Color Family
Cyan
Warm / Cool
🔵 Cool
Temperature
7000K
CSS Class
bg-[hsl(189,30%,26%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(189, 30%, 26%) | color: hsl(189, 30%, 26%) | |
| HEX | #2E5056 | color: #2E5056 | |
| RGB | rgb(46, 80, 86) | color: rgb(46, 80, 86) | |
| CMYK | cmyk(47%, 7%, 0%, 66%) | — | |
| HSV | hsv(189, 47%, 34%) | — | |
| HWB | hwb(189 18% 66%) | color: hwb(189 18% 66%) | |
| OKLCH | oklch(0.4079 0.0408 209.95) | color: oklch(0.4079 0.0408 209.95) | |
| Lab | lab(31.78 -10.54 -7.4) | color: lab(31.78 -10.54 -7.4) | |
| LCH | lch(31.78 12.88 215.07) | color: lch(31.78 12.88 215.07) |
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)
#3D3D55 — rgb(61, 61, 85)
Deuteranopia (Green-blind)
#3B3854 — rgb(59, 56, 84)
Tritanopia (Blue-blind)
#305353 — rgb(48, 83, 83)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(189, 30%, 26%);
text
color: hsl(189, 30%, 26%);
border
border: 2px solid hsl(189, 30%, 26%);
gradient light
background: linear-gradient(to right, hsl(189, 30%, 46%), hsl(189, 30%, 26%));
gradient dark
background: linear-gradient(to right, hsl(189, 30%, 26%), hsl(189, 30%, 6%))
hex
background-color: #2E5056;
tailwind
bg-[hsl(189,30%,26%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(189, 30%, 26%, 0.4);
css variable
--color-primary: hsl(189, 30%, 26%);
Related Colors
Use Cases for Cyan
Frequently Asked Questions
What are all the color codes for HSL(189, 30%, 26%)?
HEX: #2E5056 | RGB: rgb(46, 80, 86) | CMYK: 47%, 7%, 0%, 66% | HSV: 189°, 47%, 34%. Copy any format from the conversion table above.
What colors go well with #2E5056?
The complementary color is HSL(9, 30%, 26%). For a triadic harmony, use hues 189°, 309°, and 69°. For analogous combinations, try hues 159° and 219°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(189, 30%, 26%) in CSS?
As HSL: color: hsl(189, 30%, 26%); — As HEX: color: #2E5056; — As RGB: color: rgb(46, 80, 86); — Tailwind CSS: bg-[hsl(189,30%,26%)] — CSS variable: --color-primary: hsl(189, 30%, 26%);