HSL(221, 16%, 19%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
N/A
CSS Class
bg-[hsl(221,16%,19%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(221, 16%, 19%) | color: hsl(221, 16%, 19%) | |
| HEX | #292E38 | color: #292E38 | |
| RGB | rgb(41, 46, 56) | color: rgb(41, 46, 56) | |
| CMYK | cmyk(27%, 18%, 0%, 78%) | — | |
| HSV | hsv(220, 27%, 22%) | — | |
| HWB | hwb(220 16% 78%) | color: hwb(220 16% 78%) | |
| OKLCH | oklch(0.3006 0.0195 264.22) | color: oklch(0.3006 0.0195 264.22) | |
| Lab | lab(18.85 0.55 -7.1) | color: lab(18.85 0.55 -7.1) | |
| LCH | lch(18.85 7.12 274.43) | color: lch(18.85 7.12 274.43) |
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)
#2B2B36 — rgb(43, 43, 54)
Deuteranopia (Green-blind)
#2B2B35 — rgb(43, 43, 53)
Tritanopia (Blue-blind)
#293433 — rgb(41, 52, 51)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(221, 16%, 19%);
text
color: hsl(221, 16%, 19%);
border
border: 2px solid hsl(221, 16%, 19%);
gradient light
background: linear-gradient(to right, hsl(221, 16%, 39%), hsl(221, 16%, 19%));
gradient dark
background: linear-gradient(to right, hsl(221, 16%, 19%), hsl(221, 16%, 0%))
hex
background-color: #292E38;
tailwind
bg-[hsl(221,16%,19%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(221, 16%, 19%, 0.4);
css variable
--color-primary: hsl(221, 16%, 19%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(221, 16%, 19%)?
HEX: #292E38 | RGB: rgb(41, 46, 56) | CMYK: 27%, 18%, 0%, 78% | HSV: 220°, 27%, 22%. Copy any format from the conversion table above.
What colors go well with #292E38?
The complementary color is HSL(41, 16%, 19%). 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, 16%, 19%) in CSS?
As HSL: color: hsl(221, 16%, 19%); — As HEX: color: #292E38; — As RGB: color: rgb(41, 46, 56); — Tailwind CSS: bg-[hsl(221,16%,19%)] — CSS variable: --color-primary: hsl(221, 16%, 19%);