HSL(221, 14%, 15%)
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(221,14%,15%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(221, 14%, 15%) | color: hsl(221, 14%, 15%) | |
| HEX | #21242C | color: #21242C | |
| RGB | rgb(33, 36, 44) | color: rgb(33, 36, 44) | |
| CMYK | cmyk(25%, 18%, 0%, 83%) | — | |
| HSV | hsv(224, 25%, 17%) | — | |
| HWB | hwb(224 13% 83%) | color: hwb(224 13% 83%) | |
| OKLCH | oklch(0.2607 0.0156 269.07) | color: oklch(0.2607 0.0156 269.07) | |
| Lab | lab(14.21 0.85 -5.75) | color: lab(14.21 0.85 -5.75) | |
| LCH | lch(14.21 5.81 278.41) | color: lch(14.21 5.81 278.41) |
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)
#22222A — rgb(34, 34, 42)
Deuteranopia (Green-blind)
#22222A — rgb(34, 34, 42)
Tritanopia (Blue-blind)
#212928 — rgb(33, 41, 40)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(221, 14%, 15%);
text
color: hsl(221, 14%, 15%);
border
border: 2px solid hsl(221, 14%, 15%);
gradient light
background: linear-gradient(to right, hsl(221, 14%, 35%), hsl(221, 14%, 15%));
gradient dark
background: linear-gradient(to right, hsl(221, 14%, 15%), hsl(221, 14%, 0%))
hex
background-color: #21242C;
tailwind
bg-[hsl(221,14%,15%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(221, 14%, 15%, 0.4);
css variable
--color-primary: hsl(221, 14%, 15%);
Related Colors
Use Cases for Grayish Blue
Frequently Asked Questions
What are all the color codes for HSL(221, 14%, 15%)?
HEX: #21242C | RGB: rgb(33, 36, 44) | CMYK: 25%, 18%, 0%, 83% | HSV: 224°, 25%, 17%. Copy any format from the conversion table above.
What colors go well with #21242C?
The complementary color is HSL(41, 14%, 15%). For a triadic harmony, use hues 221°, 341°, and 101°. For analogous combinations, try hues 191° and 251°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(221, 14%, 15%) in CSS?
As HSL: color: hsl(221, 14%, 15%); — As HEX: color: #21242C; — As RGB: color: rgb(33, 36, 44); — Tailwind CSS: bg-[hsl(221,14%,15%)] — CSS variable: --color-primary: hsl(221, 14%, 15%);