HSL(154, 21%, 26%)
Cyan — Cyan color
Adjust Color
Color Information
Color Name
Cyan
Color Family
Cyan
Warm / Cool
🔵 Cool
Temperature
7000K
CSS Class
bg-[hsl(154,21%,26%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(154, 21%, 26%) | color: hsl(154, 21%, 26%) | |
| HEX | #345044 | color: #345044 | |
| RGB | rgb(52, 80, 68) | color: rgb(52, 80, 68) | |
| CMYK | cmyk(35%, 0%, 15%, 69%) | — | |
| HSV | hsv(154, 35%, 31%) | — | |
| HWB | hwb(154 20% 69%) | color: hwb(154 20% 69%) | |
| OKLCH | oklch(0.4049 0.0395 165.87) | color: oklch(0.4049 0.0395 165.87) | |
| Lab | lab(31.54 -13.57 3.74) | color: lab(31.54 -13.57 3.74) | |
| LCH | lch(31.54 14.08 164.59) | color: lch(31.54 14.08 164.59) |
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)
#404047 — rgb(64, 64, 71)
Deuteranopia (Green-blind)
#3F3C48 — rgb(63, 60, 72)
Tritanopia (Blue-blind)
#35494A — rgb(53, 73, 74)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(154, 21%, 26%);
text
color: hsl(154, 21%, 26%);
border
border: 2px solid hsl(154, 21%, 26%);
gradient light
background: linear-gradient(to right, hsl(154, 21%, 46%), hsl(154, 21%, 26%));
gradient dark
background: linear-gradient(to right, hsl(154, 21%, 26%), hsl(154, 21%, 6%))
hex
background-color: #345044;
tailwind
bg-[hsl(154,21%,26%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(154, 21%, 26%, 0.4);
css variable
--color-primary: hsl(154, 21%, 26%);
Related Colors
Use Cases for Cyan
Frequently Asked Questions
What are all the color codes for HSL(154, 21%, 26%)?
HEX: #345044 | RGB: rgb(52, 80, 68) | CMYK: 35%, 0%, 15%, 69% | HSV: 154°, 35%, 31%. Copy any format from the conversion table above.
What colors go well with #345044?
The complementary color is HSL(334, 21%, 26%). 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%, 26%) in CSS?
As HSL: color: hsl(154, 21%, 26%); — As HEX: color: #345044; — As RGB: color: rgb(52, 80, 68); — Tailwind CSS: bg-[hsl(154,21%,26%)] — CSS variable: --color-primary: hsl(154, 21%, 26%);