HSL(151, 30%, 19%)
Cyan — Cyan color
Adjust Color
Color Information
Color Name
Cyan
Color Family
Cyan
Warm / Cool
🔵 Cool
Temperature
7000K
CSS Class
bg-[hsl(151,30%,19%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(151, 30%, 19%) | color: hsl(151, 30%, 19%) | |
| HEX | #223F31 | color: #223F31 | |
| RGB | rgb(34, 63, 49) | color: rgb(34, 63, 49) | |
| CMYK | cmyk(46%, 0%, 22%, 75%) | — | |
| HSV | hsv(151, 46%, 25%) | — | |
| HWB | hwb(151 14% 75%) | color: hwb(151 14% 75%) | |
| OKLCH | oklch(0.34 0.0433 161.96) | color: oklch(0.34 0.0433 161.96) | |
| Lab | lab(24.05 -14.78 5.21) | color: lab(24.05 -14.78 5.21) | |
| LCH | lch(24.05 15.67 160.58) | color: lch(24.05 15.67 160.58) |
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)
#2F2F34 — rgb(47, 47, 52)
Deuteranopia (Green-blind)
#2D2B35 — rgb(45, 43, 53)
Tritanopia (Blue-blind)
#233738 — rgb(35, 55, 56)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(151, 30%, 19%);
text
color: hsl(151, 30%, 19%);
border
border: 2px solid hsl(151, 30%, 19%);
gradient light
background: linear-gradient(to right, hsl(151, 30%, 39%), hsl(151, 30%, 19%));
gradient dark
background: linear-gradient(to right, hsl(151, 30%, 19%), hsl(151, 30%, 0%))
hex
background-color: #223F31;
tailwind
bg-[hsl(151,30%,19%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(151, 30%, 19%, 0.4);
css variable
--color-primary: hsl(151, 30%, 19%);
Related Colors
Use Cases for Cyan
Frequently Asked Questions
What are all the color codes for HSL(151, 30%, 19%)?
HEX: #223F31 | RGB: rgb(34, 63, 49) | CMYK: 46%, 0%, 22%, 75% | HSV: 151°, 46%, 25%. Copy any format from the conversion table above.
What colors go well with #223F31?
The complementary color is HSL(331, 30%, 19%). For a triadic harmony, use hues 151°, 271°, and 31°. For analogous combinations, try hues 121° and 181°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(151, 30%, 19%) in CSS?
As HSL: color: hsl(151, 30%, 19%); — As HEX: color: #223F31; — As RGB: color: rgb(34, 63, 49); — Tailwind CSS: bg-[hsl(151,30%,19%)] — CSS variable: --color-primary: hsl(151, 30%, 19%);