HSL(193, 43%, 30%)
Cyan — Cyan color
Adjust Color
Color Information
Color Name
Cyan
Color Family
Cyan
Warm / Cool
🔵 Cool
Temperature
7000K
CSS Class
bg-[hsl(193,43%,30%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(193, 43%, 30%) | color: hsl(193, 43%, 30%) | |
| HEX | #2C5F6D | color: #2C5F6D | |
| RGB | rgb(44, 95, 109) | color: rgb(44, 95, 109) | |
| CMYK | cmyk(60%, 13%, 0%, 57%) | — | |
| HSV | hsv(193, 60%, 43%) | — | |
| HWB | hwb(193 17% 57%) | color: hwb(193 17% 57%) | |
| OKLCH | oklch(0.4564 0.0589 218.22) | color: oklch(0.4564 0.0589 218.22) | |
| Lab | lab(37.52 -12.59 -13.14) | color: lab(37.52 -12.59 -13.14) | |
| LCH | lch(37.52 18.2 226.22) | color: lch(37.52 18.2 226.22) |
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)
#42436A — rgb(66, 67, 106)
Deuteranopia (Green-blind)
#3F3B69 — rgb(63, 59, 105)
Tritanopia (Blue-blind)
#2F6766 — rgb(47, 103, 102)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(193, 43%, 30%);
text
color: hsl(193, 43%, 30%);
border
border: 2px solid hsl(193, 43%, 30%);
gradient light
background: linear-gradient(to right, hsl(193, 43%, 50%), hsl(193, 43%, 30%));
gradient dark
background: linear-gradient(to right, hsl(193, 43%, 30%), hsl(193, 43%, 10%))
hex
background-color: #2C5F6D;
tailwind
bg-[hsl(193,43%,30%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(193, 43%, 30%, 0.4);
css variable
--color-primary: hsl(193, 43%, 30%);
Related Colors
Use Cases for Cyan
Frequently Asked Questions
What are all the color codes for HSL(193, 43%, 30%)?
HEX: #2C5F6D | RGB: rgb(44, 95, 109) | CMYK: 60%, 13%, 0%, 57% | HSV: 193°, 60%, 43%. Copy any format from the conversion table above.
What colors go well with #2C5F6D?
The complementary color is HSL(13, 43%, 30%). For a triadic harmony, use hues 193°, 313°, and 73°. For analogous combinations, try hues 163° and 223°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(193, 43%, 30%) in CSS?
As HSL: color: hsl(193, 43%, 30%); — As HEX: color: #2C5F6D; — As RGB: color: rgb(44, 95, 109); — Tailwind CSS: bg-[hsl(193,43%,30%)] — CSS variable: --color-primary: hsl(193, 43%, 30%);