HSL(174, 12%, 15%)
Grayish Cyan — Cyan color
Adjust Color
Color Information
Color Name
Grayish Cyan
Color Family
Cyan
Warm / Cool
🔵 Cool
Temperature
N/A
CSS Class
bg-[hsl(174,12%,15%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(174, 12%, 15%) | color: hsl(174, 12%, 15%) | |
| HEX | #222B2A | color: #222B2A | |
| RGB | rgb(34, 43, 42) | color: rgb(34, 43, 42) | |
| CMYK | cmyk(21%, 0%, 2%, 83%) | — | |
| HSV | hsv(173, 21%, 17%) | — | |
| HWB | hwb(173 13% 83%) | color: hwb(173 13% 83%) | |
| OKLCH | oklch(0.2801 0.0127 188.21) | color: oklch(0.2801 0.0127 188.21) | |
| Lab | lab(16.67 -4.16 -0.65) | color: lab(16.67 -4.16 -0.65) | |
| LCH | lch(16.67 4.21 188.88) | color: lch(16.67 4.21 188.88) |
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)
#26262A — rgb(38, 38, 42)
Deuteranopia (Green-blind)
#25252A — rgb(37, 37, 42)
Tritanopia (Blue-blind)
#222A2A — rgb(34, 42, 42)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(174, 12%, 15%);
text
color: hsl(174, 12%, 15%);
border
border: 2px solid hsl(174, 12%, 15%);
gradient light
background: linear-gradient(to right, hsl(174, 12%, 35%), hsl(174, 12%, 15%));
gradient dark
background: linear-gradient(to right, hsl(174, 12%, 15%), hsl(174, 12%, 0%))
hex
background-color: #222B2A;
tailwind
bg-[hsl(174,12%,15%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(174, 12%, 15%, 0.4);
css variable
--color-primary: hsl(174, 12%, 15%);
Related Colors
Use Cases for Grayish Cyan
Frequently Asked Questions
What are all the color codes for HSL(174, 12%, 15%)?
HEX: #222B2A | RGB: rgb(34, 43, 42) | CMYK: 21%, 0%, 2%, 83% | HSV: 173°, 21%, 17%. Copy any format from the conversion table above.
What colors go well with #222B2A?
The complementary color is HSL(354, 12%, 15%). For a triadic harmony, use hues 174°, 294°, and 54°. For analogous combinations, try hues 144° and 204°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(174, 12%, 15%) in CSS?
As HSL: color: hsl(174, 12%, 15%); — As HEX: color: #222B2A; — As RGB: color: rgb(34, 43, 42); — Tailwind CSS: bg-[hsl(174,12%,15%)] — CSS variable: --color-primary: hsl(174, 12%, 15%);