HSL(219, 21%, 28%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(219,21%,28%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(219, 21%, 28%) | color: hsl(219, 21%, 28%) | |
| HEX | #384356 | color: #384356 | |
| RGB | rgb(56, 67, 86) | color: rgb(56, 67, 86) | |
| CMYK | cmyk(35%, 22%, 0%, 66%) | — | |
| HSV | hsv(218, 35%, 34%) | — | |
| HWB | hwb(218 22% 66%) | color: hwb(218 22% 66%) | |
| OKLCH | oklch(0.3811 0.0357 261.25) | color: oklch(0.3811 0.0357 261.25) | |
| Lab | lab(28.19 0.77 -12.8) | color: lab(28.19 0.77 -12.8) | |
| LCH | lch(28.19 12.82 273.44) | color: lch(28.19 12.82 273.44) |
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)
#3D3D51 — rgb(61, 61, 81)
Deuteranopia (Green-blind)
#3C3B50 — rgb(60, 59, 80)
Tritanopia (Blue-blind)
#394E4D — rgb(57, 78, 77)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(219, 21%, 28%);
text
color: hsl(219, 21%, 28%);
border
border: 2px solid hsl(219, 21%, 28%);
gradient light
background: linear-gradient(to right, hsl(219, 21%, 48%), hsl(219, 21%, 28%));
gradient dark
background: linear-gradient(to right, hsl(219, 21%, 28%), hsl(219, 21%, 8%))
hex
background-color: #384356;
tailwind
bg-[hsl(219,21%,28%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(219, 21%, 28%, 0.4);
css variable
--color-primary: hsl(219, 21%, 28%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(219, 21%, 28%)?
HEX: #384356 | RGB: rgb(56, 67, 86) | CMYK: 35%, 22%, 0%, 66% | HSV: 218°, 35%, 34%. Copy any format from the conversion table above.
What colors go well with #384356?
The complementary color is HSL(39, 21%, 28%). For a triadic harmony, use hues 219°, 339°, and 99°. For analogous combinations, try hues 189° and 249°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(219, 21%, 28%) in CSS?
As HSL: color: hsl(219, 21%, 28%); — As HEX: color: #384356; — As RGB: color: rgb(56, 67, 86); — Tailwind CSS: bg-[hsl(219,21%,28%)] — CSS variable: --color-primary: hsl(219, 21%, 28%);