HSL(189, 52%, 34%)
Cyan — Cyan color
Adjust Color
Color Information
Color Name
Cyan
Color Family
Cyan
Warm / Cool
🔵 Cool
Temperature
7000K
CSS Class
bg-[hsl(189,52%,34%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(189, 52%, 34%) | color: hsl(189, 52%, 34%) | |
| HEX | #2A7684 | color: #2A7684 | |
| RGB | rgb(42, 118, 132) | color: rgb(42, 118, 132) | |
| CMYK | cmyk(68%, 11%, 0%, 48%) | — | |
| HSV | hsv(189, 68%, 52%) | — | |
| HWB | hwb(189 17% 48%) | color: hwb(189 17% 48%) | |
| OKLCH | oklch(0.5255 0.0759 212.05) | color: oklch(0.5255 0.0759 212.05) | |
| Lab | lab(45.79 -18.35 -14.5) | color: lab(45.79 -18.35 -14.5) | |
| LCH | lch(45.79 23.39 218.32) | color: lch(45.79 23.39 218.32) |
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)
#4B4C81 — rgb(75, 76, 129)
Deuteranopia (Green-blind)
#474180 — rgb(71, 65, 128)
Tritanopia (Blue-blind)
#2E7E7D — rgb(46, 126, 125)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(189, 52%, 34%);
text
color: hsl(189, 52%, 34%);
border
border: 2px solid hsl(189, 52%, 34%);
gradient light
background: linear-gradient(to right, hsl(189, 52%, 54%), hsl(189, 52%, 34%));
gradient dark
background: linear-gradient(to right, hsl(189, 52%, 34%), hsl(189, 52%, 14%))
hex
background-color: #2A7684;
tailwind
bg-[hsl(189,52%,34%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(189, 52%, 34%, 0.4);
css variable
--color-primary: hsl(189, 52%, 34%);
Related Colors
Use Cases for Cyan
Frequently Asked Questions
What are all the color codes for HSL(189, 52%, 34%)?
HEX: #2A7684 | RGB: rgb(42, 118, 132) | CMYK: 68%, 11%, 0%, 48% | HSV: 189°, 68%, 52%. Copy any format from the conversion table above.
What colors go well with #2A7684?
The complementary color is HSL(9, 52%, 34%). 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, 52%, 34%) in CSS?
As HSL: color: hsl(189, 52%, 34%); — As HEX: color: #2A7684; — As RGB: color: rgb(42, 118, 132); — Tailwind CSS: bg-[hsl(189,52%,34%)] — CSS variable: --color-primary: hsl(189, 52%, 34%);