HSL(154, 21%, 28%)
Cyan — Cyan color
Adjust Color
Color Information
Color Name
Cyan
Color Family
Cyan
Warm / Cool
🔵 Cool
Temperature
7000K
CSS Class
bg-[hsl(154,21%,28%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(154, 21%, 28%) | color: hsl(154, 21%, 28%) | |
| HEX | #385649 | color: #385649 | |
| RGB | rgb(56, 86, 73) | color: rgb(56, 86, 73) | |
| CMYK | cmyk(35%, 0%, 15%, 66%) | — | |
| HSV | hsv(154, 35%, 34%) | — | |
| HWB | hwb(154 22% 66%) | color: hwb(154 22% 66%) | |
| OKLCH | oklch(0.4253 0.0419 165.58) | color: oklch(0.4253 0.0419 165.58) | |
| Lab | lab(33.94 -14.39 4.05) | color: lab(33.94 -14.39 4.05) | |
| LCH | lch(33.94 14.95 164.28) | color: lch(33.94 14.95 164.28) |
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)
#45454C — rgb(69, 69, 76)
Deuteranopia (Green-blind)
#43414D — rgb(67, 65, 77)
Tritanopia (Blue-blind)
#3A4F4F — rgb(58, 79, 79)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(154, 21%, 28%);
text
color: hsl(154, 21%, 28%);
border
border: 2px solid hsl(154, 21%, 28%);
gradient light
background: linear-gradient(to right, hsl(154, 21%, 48%), hsl(154, 21%, 28%));
gradient dark
background: linear-gradient(to right, hsl(154, 21%, 28%), hsl(154, 21%, 8%))
hex
background-color: #385649;
tailwind
bg-[hsl(154,21%,28%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(154, 21%, 28%, 0.4);
css variable
--color-primary: hsl(154, 21%, 28%);
Related Colors
Use Cases for Cyan
Frequently Asked Questions
What are all the color codes for HSL(154, 21%, 28%)?
HEX: #385649 | RGB: rgb(56, 86, 73) | CMYK: 35%, 0%, 15%, 66% | HSV: 154°, 35%, 34%. Copy any format from the conversion table above.
What colors go well with #385649?
The complementary color is HSL(334, 21%, 28%). For a triadic harmony, use hues 154°, 274°, and 34°. For analogous combinations, try hues 124° and 184°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(154, 21%, 28%) in CSS?
As HSL: color: hsl(154, 21%, 28%); — As HEX: color: #385649; — As RGB: color: rgb(56, 86, 73); — Tailwind CSS: bg-[hsl(154,21%,28%)] — CSS variable: --color-primary: hsl(154, 21%, 28%);