HSL(187, 51%, 25%)
Cyan — Cyan color
Adjust Color
Color Information
Color Name
Cyan
Color Family
Cyan
Warm / Cool
🔵 Cool
Temperature
7000K
CSS Class
bg-[hsl(187,51%,25%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(187, 51%, 25%) | color: hsl(187, 51%, 25%) | |
| HEX | #1F5960 | color: #1F5960 | |
| RGB | rgb(31, 89, 96) | color: rgb(31, 89, 96) | |
| CMYK | cmyk(68%, 7%, 0%, 62%) | — | |
| HSV | hsv(186, 68%, 38%) | — | |
| HWB | hwb(186 12% 62%) | color: hwb(186 12% 62%) | |
| OKLCH | oklch(0.4296 0.06 206.31) | color: oklch(0.4296 0.06 206.31) | |
| Lab | lab(34.56 -16.14 -9.6) | color: lab(34.56 -16.14 -9.6) | |
| LCH | lch(34.56 18.78 210.74) | color: lch(34.56 18.78 210.74) |
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)
#38395E — rgb(56, 57, 94)
Deuteranopia (Green-blind)
#35305E — rgb(53, 48, 94)
Tritanopia (Blue-blind)
#225D5D — rgb(34, 93, 93)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(187, 51%, 25%);
text
color: hsl(187, 51%, 25%);
border
border: 2px solid hsl(187, 51%, 25%);
gradient light
background: linear-gradient(to right, hsl(187, 51%, 45%), hsl(187, 51%, 25%));
gradient dark
background: linear-gradient(to right, hsl(187, 51%, 25%), hsl(187, 51%, 5%))
hex
background-color: #1F5960;
tailwind
bg-[hsl(187,51%,25%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(187, 51%, 25%, 0.4);
css variable
--color-primary: hsl(187, 51%, 25%);
Related Colors
Use Cases for Cyan
Frequently Asked Questions
What are all the color codes for HSL(187, 51%, 25%)?
HEX: #1F5960 | RGB: rgb(31, 89, 96) | CMYK: 68%, 7%, 0%, 62% | HSV: 186°, 68%, 38%. Copy any format from the conversion table above.
What colors go well with #1F5960?
The complementary color is HSL(7, 51%, 25%). 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, 51%, 25%) in CSS?
As HSL: color: hsl(187, 51%, 25%); — As HEX: color: #1F5960; — As RGB: color: rgb(31, 89, 96); — Tailwind CSS: bg-[hsl(187,51%,25%)] — CSS variable: --color-primary: hsl(187, 51%, 25%);