HSL(188, 37%, 41%)
Cyan — Cyan color
Adjust Color
Color Information
Color Name
Cyan
Color Family
Cyan
Warm / Cool
🔵 Cool
Temperature
7000K
CSS Class
bg-[hsl(188,37%,41%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(188, 37%, 41%) | color: hsl(188, 37%, 41%) | |
| HEX | #42858F | color: #42858F | |
| RGB | rgb(66, 133, 143) | color: rgb(66, 133, 143) | |
| CMYK | cmyk(54%, 7%, 0%, 44%) | — | |
| HSV | hsv(188, 54%, 56%) | — | |
| HWB | hwb(188 26% 44%) | color: hwb(188 26% 44%) | |
| OKLCH | oklch(0.5769 0.0695 208.2) | color: oklch(0.5769 0.0695 208.2) | |
| Lab | lab(51.74 -18.29 -11.89) | color: lab(51.74 -18.29 -11.89) | |
| LCH | lch(51.74 21.82 213.03) | color: lch(51.74 21.82 213.03) |
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: black
Color Blindness Simulation
Protanopia (Red-blind)
#5F608D — rgb(95, 96, 141)
Deuteranopia (Green-blind)
#5B568C — rgb(91, 86, 140)
Tritanopia (Blue-blind)
#458B8A — rgb(69, 139, 138)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(188, 37%, 41%);
text
color: hsl(188, 37%, 41%);
border
border: 2px solid hsl(188, 37%, 41%);
gradient light
background: linear-gradient(to right, hsl(188, 37%, 61%), hsl(188, 37%, 41%));
gradient dark
background: linear-gradient(to right, hsl(188, 37%, 41%), hsl(188, 37%, 21%))
hex
background-color: #42858F;
tailwind
bg-[hsl(188,37%,41%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(188, 37%, 41%, 0.4);
css variable
--color-primary: hsl(188, 37%, 41%);
Related Colors
Use Cases for Cyan
Frequently Asked Questions
What are all the color codes for HSL(188, 37%, 41%)?
HEX: #42858F | RGB: rgb(66, 133, 143) | CMYK: 54%, 7%, 0%, 44% | HSV: 188°, 54%, 56%. Copy any format from the conversion table above.
What colors go well with #42858F?
The complementary color is HSL(8, 37%, 41%). For a triadic harmony, use hues 188°, 308°, and 68°. For analogous combinations, try hues 158° and 218°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(188, 37%, 41%) in CSS?
As HSL: color: hsl(188, 37%, 41%); — As HEX: color: #42858F; — As RGB: color: rgb(66, 133, 143); — Tailwind CSS: bg-[hsl(188,37%,41%)] — CSS variable: --color-primary: hsl(188, 37%, 41%);