HSL(172, 54%, 29%)
Cyan — Cyan color
Adjust Color
Color Information
Color Name
Cyan
Color Family
Cyan
Warm / Cool
🔵 Cool
Temperature
7000K
CSS Class
bg-[hsl(172,54%,29%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(172, 54%, 29%) | color: hsl(172, 54%, 29%) | |
| HEX | #227267 | color: #227267 | |
| RGB | rgb(34, 114, 103) | color: rgb(34, 114, 103) | |
| CMYK | cmyk(70%, 0%, 10%, 55%) | — | |
| HSV | hsv(172, 70%, 45%) | — | |
| HWB | hwb(172 14% 55%) | color: hwb(172 14% 55%) | |
| OKLCH | oklch(0.5014 0.0778 182.1) | color: oklch(0.5014 0.0778 182.1) | |
| Lab | lab(43.29 -26.62 -0.9) | color: lab(43.29 -26.62 -0.9) | |
| LCH | lch(43.29 26.64 181.94) | color: lch(43.29 26.64 181.94) |
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)
#45456A — rgb(69, 69, 106)
Deuteranopia (Green-blind)
#403A6A — rgb(64, 58, 106)
Tritanopia (Blue-blind)
#266C6C — rgb(38, 108, 108)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(172, 54%, 29%);
text
color: hsl(172, 54%, 29%);
border
border: 2px solid hsl(172, 54%, 29%);
gradient light
background: linear-gradient(to right, hsl(172, 54%, 49%), hsl(172, 54%, 29%));
gradient dark
background: linear-gradient(to right, hsl(172, 54%, 29%), hsl(172, 54%, 9%))
hex
background-color: #227267;
tailwind
bg-[hsl(172,54%,29%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(172, 54%, 29%, 0.4);
css variable
--color-primary: hsl(172, 54%, 29%);
Related Colors
Use Cases for Cyan
Frequently Asked Questions
What are all the color codes for HSL(172, 54%, 29%)?
HEX: #227267 | RGB: rgb(34, 114, 103) | CMYK: 70%, 0%, 10%, 55% | HSV: 172°, 70%, 45%. Copy any format from the conversion table above.
What colors go well with #227267?
The complementary color is HSL(352, 54%, 29%). For a triadic harmony, use hues 172°, 292°, and 52°. For analogous combinations, try hues 142° and 202°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(172, 54%, 29%) in CSS?
As HSL: color: hsl(172, 54%, 29%); — As HEX: color: #227267; — As RGB: color: rgb(34, 114, 103); — Tailwind CSS: bg-[hsl(172,54%,29%)] — CSS variable: --color-primary: hsl(172, 54%, 29%);