HSL(189, 29%, 20%)
Cyan — Cyan color
Adjust Color
Color Information
Color Name
Cyan
Color Family
Cyan
Warm / Cool
🔵 Cool
Temperature
7000K
CSS Class
bg-[hsl(189,29%,20%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(189, 29%, 20%) | color: hsl(189, 29%, 20%) | |
| HEX | #243D42 | color: #243D42 | |
| RGB | rgb(36, 61, 66) | color: rgb(36, 61, 66) | |
| CMYK | cmyk(45%, 8%, 0%, 74%) | — | |
| HSV | hsv(190, 45%, 26%) | — | |
| HWB | hwb(190 14% 74%) | color: hwb(190 14% 74%) | |
| OKLCH | oklch(0.3419 0.032 211.63) | color: oklch(0.3419 0.032 211.63) | |
| Lab | lab(24.02 -8.08 -6.12) | color: lab(24.02 -8.08 -6.12) | |
| LCH | lch(24.02 10.14 217.14) | color: lch(24.02 10.14 217.14) |
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)
#2F2F41 — rgb(47, 47, 65)
Deuteranopia (Green-blind)
#2D2C41 — rgb(45, 44, 65)
Tritanopia (Blue-blind)
#254040 — rgb(37, 64, 64)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(189, 29%, 20%);
text
color: hsl(189, 29%, 20%);
border
border: 2px solid hsl(189, 29%, 20%);
gradient light
background: linear-gradient(to right, hsl(189, 29%, 40%), hsl(189, 29%, 20%));
gradient dark
background: linear-gradient(to right, hsl(189, 29%, 20%), hsl(189, 29%, 0%))
hex
background-color: #243D42;
tailwind
bg-[hsl(189,29%,20%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(189, 29%, 20%, 0.4);
css variable
--color-primary: hsl(189, 29%, 20%);
Related Colors
Use Cases for Cyan
Frequently Asked Questions
What are all the color codes for HSL(189, 29%, 20%)?
HEX: #243D42 | RGB: rgb(36, 61, 66) | CMYK: 45%, 8%, 0%, 74% | HSV: 190°, 45%, 26%. Copy any format from the conversion table above.
What colors go well with #243D42?
The complementary color is HSL(9, 29%, 20%). 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, 29%, 20%) in CSS?
As HSL: color: hsl(189, 29%, 20%); — As HEX: color: #243D42; — As RGB: color: rgb(36, 61, 66); — Tailwind CSS: bg-[hsl(189,29%,20%)] — CSS variable: --color-primary: hsl(189, 29%, 20%);