HSL(190, 92%, 21%)
Cyan — Cyan color
Adjust Color
Color Information
Color Name
Cyan
Color Family
Cyan
Warm / Cool
🔵 Cool
Temperature
7000K
CSS Class
bg-[hsl(190,92%,21%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(190, 92%, 21%) | color: hsl(190, 92%, 21%) | |
| HEX | #045667 | color: #045667 | |
| RGB | rgb(4, 86, 103) | color: rgb(4, 86, 103) | |
| CMYK | cmyk(96%, 17%, 0%, 60%) | — | |
| HSV | hsv(190, 96%, 40%) | — | |
| HWB | hwb(190 2% 60%) | color: hwb(190 2% 60%) | |
| OKLCH | oklch(0.4185 0.0736 217.53) | color: oklch(0.4185 0.0736 217.53) | |
| Lab | lab(33.26 -15.21 -16.01) | color: lab(33.26 -15.21 -16.01) | |
| LCH | lch(33.26 22.08 226.47) | color: lch(33.26 22.08 226.47) |
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)
#282863 — rgb(40, 40, 99)
Deuteranopia (Green-blind)
#231D62 — rgb(35, 29, 98)
Tritanopia (Blue-blind)
#08605F — rgb(8, 96, 95)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(190, 92%, 21%);
text
color: hsl(190, 92%, 21%);
border
border: 2px solid hsl(190, 92%, 21%);
gradient light
background: linear-gradient(to right, hsl(190, 92%, 41%), hsl(190, 92%, 21%));
gradient dark
background: linear-gradient(to right, hsl(190, 92%, 21%), hsl(190, 92%, 1%))
hex
background-color: #045667;
tailwind
bg-[hsl(190,92%,21%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(190, 92%, 21%, 0.4);
css variable
--color-primary: hsl(190, 92%, 21%);
Related Colors
Use Cases for Cyan
Frequently Asked Questions
What are all the color codes for HSL(190, 92%, 21%)?
HEX: #045667 | RGB: rgb(4, 86, 103) | CMYK: 96%, 17%, 0%, 60% | HSV: 190°, 96%, 40%. Copy any format from the conversion table above.
What colors go well with #045667?
The complementary color is HSL(10, 92%, 21%). For a triadic harmony, use hues 190°, 310°, and 70°. For analogous combinations, try hues 160° and 220°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(190, 92%, 21%) in CSS?
As HSL: color: hsl(190, 92%, 21%); — As HEX: color: #045667; — As RGB: color: rgb(4, 86, 103); — Tailwind CSS: bg-[hsl(190,92%,21%)] — CSS variable: --color-primary: hsl(190, 92%, 21%);