HSL(222, 11%, 23%)
Grayish Blue — Blue color
Adjust Color
Color Information
Color Name
Grayish Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
N/A
CSS Class
bg-[hsl(222,11%,23%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(222, 11%, 23%) | color: hsl(222, 11%, 23%) | |
| HEX | #343841 | color: #343841 | |
| RGB | rgb(52, 56, 65) | color: rgb(52, 56, 65) | |
| CMYK | cmyk(20%, 14%, 0%, 75%) | — | |
| HSV | hsv(222, 20%, 25%) | — | |
| HWB | hwb(222 20% 75%) | color: hwb(222 20% 75%) | |
| OKLCH | oklch(0.3405 0.0167 266.45) | color: oklch(0.3405 0.0167 266.45) | |
| Lab | lab(23.47 0.59 -6.15) | color: lab(23.47 0.59 -6.15) | |
| LCH | lch(23.47 6.18 275.48) | color: lch(23.47 6.18 275.48) |
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)
#36363F — rgb(54, 54, 63)
Deuteranopia (Green-blind)
#36353E — rgb(54, 53, 62)
Tritanopia (Blue-blind)
#343D3D — rgb(52, 61, 61)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(222, 11%, 23%);
text
color: hsl(222, 11%, 23%);
border
border: 2px solid hsl(222, 11%, 23%);
gradient light
background: linear-gradient(to right, hsl(222, 11%, 43%), hsl(222, 11%, 23%));
gradient dark
background: linear-gradient(to right, hsl(222, 11%, 23%), hsl(222, 11%, 3%))
hex
background-color: #343841;
tailwind
bg-[hsl(222,11%,23%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(222, 11%, 23%, 0.4);
css variable
--color-primary: hsl(222, 11%, 23%);
Related Colors
Use Cases for Grayish Blue
Frequently Asked Questions
What are all the color codes for HSL(222, 11%, 23%)?
HEX: #343841 | RGB: rgb(52, 56, 65) | CMYK: 20%, 14%, 0%, 75% | HSV: 222°, 20%, 25%. Copy any format from the conversion table above.
What colors go well with #343841?
The complementary color is HSL(42, 11%, 23%). For a triadic harmony, use hues 222°, 342°, and 102°. For analogous combinations, try hues 192° and 252°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(222, 11%, 23%) in CSS?
As HSL: color: hsl(222, 11%, 23%); — As HEX: color: #343841; — As RGB: color: rgb(52, 56, 65); — Tailwind CSS: bg-[hsl(222,11%,23%)] — CSS variable: --color-primary: hsl(222, 11%, 23%);