HSL(187, 62%, 31%)
Cyan — Cyan color
Adjust Color
Color Information
Color Name
Cyan
Color Family
Cyan
Warm / Cool
🔵 Cool
Temperature
7000K
CSS Class
bg-[hsl(187,62%,31%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(187, 62%, 31%) | color: hsl(187, 62%, 31%) | |
| HEX | #1E7580 | color: #1E7580 | |
| RGB | rgb(30, 117, 128) | color: rgb(30, 117, 128) | |
| CMYK | cmyk(77%, 9%, 0%, 50%) | — | |
| HSV | hsv(187, 77%, 50%) | — | |
| HWB | hwb(187 12% 50%) | color: hwb(187 12% 50%) | |
| OKLCH | oklch(0.5179 0.08 207.56) | color: oklch(0.5179 0.08 207.56) | |
| Lab | lab(45.02 -20.9 -13.31) | color: lab(45.02 -20.9 -13.31) | |
| LCH | lch(45.02 24.78 212.49) | color: lch(45.02 24.78 212.49) |
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)
#44447D — rgb(68, 68, 125)
Deuteranopia (Green-blind)
#3F387D — rgb(63, 56, 125)
Tritanopia (Blue-blind)
#227B7B — rgb(34, 123, 123)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(187, 62%, 31%);
text
color: hsl(187, 62%, 31%);
border
border: 2px solid hsl(187, 62%, 31%);
gradient light
background: linear-gradient(to right, hsl(187, 62%, 51%), hsl(187, 62%, 31%));
gradient dark
background: linear-gradient(to right, hsl(187, 62%, 31%), hsl(187, 62%, 11%))
hex
background-color: #1E7580;
tailwind
bg-[hsl(187,62%,31%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(187, 62%, 31%, 0.4);
css variable
--color-primary: hsl(187, 62%, 31%);
Related Colors
Use Cases for Cyan
Frequently Asked Questions
What are all the color codes for HSL(187, 62%, 31%)?
HEX: #1E7580 | RGB: rgb(30, 117, 128) | CMYK: 77%, 9%, 0%, 50% | HSV: 187°, 77%, 50%. Copy any format from the conversion table above.
What colors go well with #1E7580?
The complementary color is HSL(7, 62%, 31%). For a triadic harmony, use hues 187°, 307°, and 67°. For analogous combinations, try hues 157° and 217°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(187, 62%, 31%) in CSS?
As HSL: color: hsl(187, 62%, 31%); — As HEX: color: #1E7580; — As RGB: color: rgb(30, 117, 128); — Tailwind CSS: bg-[hsl(187,62%,31%)] — CSS variable: --color-primary: hsl(187, 62%, 31%);