HSL(186, 20%, 24%)
Cyan — Cyan color
Adjust Color
Color Information
Color Name
Cyan
Color Family
Cyan
Warm / Cool
🔵 Cool
Temperature
7000K
CSS Class
bg-[hsl(186,20%,24%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(186, 20%, 24%) | color: hsl(186, 20%, 24%) | |
| HEX | #314749 | color: #314749 | |
| RGB | rgb(49, 71, 73) | color: rgb(49, 71, 73) | |
| CMYK | cmyk(33%, 3%, 0%, 71%) | — | |
| HSV | hsv(185, 33%, 29%) | — | |
| HWB | hwb(185 19% 71%) | color: hwb(185 19% 71%) | |
| OKLCH | oklch(0.3805 0.0275 203.13) | color: oklch(0.3805 0.0275 203.13) | |
| Lab | lab(28.49 -7.94 -3.96) | color: lab(28.49 -7.94 -3.96) | |
| LCH | lch(28.49 8.87 206.51) | color: lch(28.49 8.87 206.51) |
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)
#3B3B49 — rgb(59, 59, 73)
Deuteranopia (Green-blind)
#393848 — rgb(57, 56, 72)
Tritanopia (Blue-blind)
#324848 — rgb(50, 72, 72)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(186, 20%, 24%);
text
color: hsl(186, 20%, 24%);
border
border: 2px solid hsl(186, 20%, 24%);
gradient light
background: linear-gradient(to right, hsl(186, 20%, 44%), hsl(186, 20%, 24%));
gradient dark
background: linear-gradient(to right, hsl(186, 20%, 24%), hsl(186, 20%, 4%))
hex
background-color: #314749;
tailwind
bg-[hsl(186,20%,24%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(186, 20%, 24%, 0.4);
css variable
--color-primary: hsl(186, 20%, 24%);
Related Colors
Use Cases for Cyan
Frequently Asked Questions
What are all the color codes for HSL(186, 20%, 24%)?
HEX: #314749 | RGB: rgb(49, 71, 73) | CMYK: 33%, 3%, 0%, 71% | HSV: 185°, 33%, 29%. Copy any format from the conversion table above.
What colors go well with #314749?
The complementary color is HSL(6, 20%, 24%). For a triadic harmony, use hues 186°, 306°, and 66°. For analogous combinations, try hues 156° and 216°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(186, 20%, 24%) in CSS?
As HSL: color: hsl(186, 20%, 24%); — As HEX: color: #314749; — As RGB: color: rgb(49, 71, 73); — Tailwind CSS: bg-[hsl(186,20%,24%)] — CSS variable: --color-primary: hsl(186, 20%, 24%);