HSL(159, 69%, 15%)
Cyan — Cyan color
Adjust Color
Color Information
Color Name
Cyan
Color Family
Cyan
Warm / Cool
🔵 Cool
Temperature
7000K
CSS Class
bg-[hsl(159,69%,15%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(159, 69%, 15%) | color: hsl(159, 69%, 15%) | |
| HEX | #0C412E | color: #0C412E | |
| RGB | rgb(12, 65, 46) | color: rgb(12, 65, 46) | |
| CMYK | cmyk(82%, 0%, 29%, 75%) | — | |
| HSV | hsv(158, 82%, 25%) | — | |
| HWB | hwb(158 5% 75%) | color: hwb(158 5% 75%) | |
| OKLCH | oklch(0.3357 0.064 164.3) | color: oklch(0.3357 0.064 164.3) | |
| Lab | lab(23.85 -22.4 6.78) | color: lab(23.85 -22.4 6.78) | |
| LCH | lch(23.85 23.4 163.16) | color: lch(23.85 23.4 163.16) |
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)
#232333 — rgb(35, 35, 51)
Deuteranopia (Green-blind)
#201C34 — rgb(32, 28, 52)
Tritanopia (Blue-blind)
#0F3637 — rgb(15, 54, 55)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(159, 69%, 15%);
text
color: hsl(159, 69%, 15%);
border
border: 2px solid hsl(159, 69%, 15%);
gradient light
background: linear-gradient(to right, hsl(159, 69%, 35%), hsl(159, 69%, 15%));
gradient dark
background: linear-gradient(to right, hsl(159, 69%, 15%), hsl(159, 69%, 0%))
hex
background-color: #0C412E;
tailwind
bg-[hsl(159,69%,15%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(159, 69%, 15%, 0.4);
css variable
--color-primary: hsl(159, 69%, 15%);
Related Colors
Use Cases for Cyan
Frequently Asked Questions
What are all the color codes for HSL(159, 69%, 15%)?
HEX: #0C412E | RGB: rgb(12, 65, 46) | CMYK: 82%, 0%, 29%, 75% | HSV: 158°, 82%, 25%. Copy any format from the conversion table above.
What colors go well with #0C412E?
The complementary color is HSL(339, 69%, 15%). For a triadic harmony, use hues 159°, 279°, and 39°. For analogous combinations, try hues 129° and 189°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(159, 69%, 15%) in CSS?
As HSL: color: hsl(159, 69%, 15%); — As HEX: color: #0C412E; — As RGB: color: rgb(12, 65, 46); — Tailwind CSS: bg-[hsl(159,69%,15%)] — CSS variable: --color-primary: hsl(159, 69%, 15%);