HSL(219, 20%, 37%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(219,20%,37%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(219, 20%, 37%) | color: hsl(219, 20%, 37%) | |
| HEX | #4B5971 | color: #4B5971 | |
| RGB | rgb(75, 89, 113) | color: rgb(75, 89, 113) | |
| CMYK | cmyk(34%, 21%, 0%, 56%) | — | |
| HSV | hsv(218, 34%, 44%) | — | |
| HWB | hwb(218 29% 56%) | color: hwb(218 29% 56%) | |
| OKLCH | oklch(0.4617 0.043 261.1) | color: oklch(0.4617 0.043 261.1) | |
| Lab | lab(37.54 0.89 -15.42) | color: lab(37.54 0.89 -15.42) | |
| LCH | lch(37.54 15.45 273.3) | color: lch(37.54 15.45 273.3) |
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)
#51516B — rgb(81, 81, 107)
Deuteranopia (Green-blind)
#504F6A — rgb(80, 79, 106)
Tritanopia (Blue-blind)
#4C6766 — rgb(76, 103, 102)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(219, 20%, 37%);
text
color: hsl(219, 20%, 37%);
border
border: 2px solid hsl(219, 20%, 37%);
gradient light
background: linear-gradient(to right, hsl(219, 20%, 57%), hsl(219, 20%, 37%));
gradient dark
background: linear-gradient(to right, hsl(219, 20%, 37%), hsl(219, 20%, 17%))
hex
background-color: #4B5971;
tailwind
bg-[hsl(219,20%,37%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(219, 20%, 37%, 0.4);
css variable
--color-primary: hsl(219, 20%, 37%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(219, 20%, 37%)?
HEX: #4B5971 | RGB: rgb(75, 89, 113) | CMYK: 34%, 21%, 0%, 56% | HSV: 218°, 34%, 44%. Copy any format from the conversion table above.
What colors go well with #4B5971?
The complementary color is HSL(39, 20%, 37%). 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, 20%, 37%) in CSS?
As HSL: color: hsl(219, 20%, 37%); — As HEX: color: #4B5971; — As RGB: color: rgb(75, 89, 113); — Tailwind CSS: bg-[hsl(219,20%,37%)] — CSS variable: --color-primary: hsl(219, 20%, 37%);