HSL(229, 20%, 37%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(229,20%,37%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(229, 20%, 37%) | color: hsl(229, 20%, 37%) | |
| HEX | #4B5271 | color: #4B5271 | |
| RGB | rgb(75, 82, 113) | color: rgb(75, 82, 113) | |
| CMYK | cmyk(34%, 27%, 0%, 56%) | — | |
| HSV | hsv(229, 34%, 44%) | — | |
| HWB | hwb(229 29% 56%) | color: hwb(229 29% 56%) | |
| OKLCH | oklch(0.4454 0.0518 274.29) | color: oklch(0.4454 0.0518 274.29) | |
| Lab | lab(35.44 5.3 -18.65) | color: lab(35.44 5.3 -18.65) | |
| LCH | lch(35.44 19.39 285.86) | color: lch(35.44 19.39 285.86) |
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)
#4E4E69 — rgb(78, 78, 105)
Deuteranopia (Green-blind)
#4E4D68 — rgb(78, 77, 104)
Tritanopia (Blue-blind)
#4B6462 — rgb(75, 100, 98)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(229, 20%, 37%);
text
color: hsl(229, 20%, 37%);
border
border: 2px solid hsl(229, 20%, 37%);
gradient light
background: linear-gradient(to right, hsl(229, 20%, 57%), hsl(229, 20%, 37%));
gradient dark
background: linear-gradient(to right, hsl(229, 20%, 37%), hsl(229, 20%, 17%))
hex
background-color: #4B5271;
tailwind
bg-[hsl(229,20%,37%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(229, 20%, 37%, 0.4);
css variable
--color-primary: hsl(229, 20%, 37%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(229, 20%, 37%)?
HEX: #4B5271 | RGB: rgb(75, 82, 113) | CMYK: 34%, 27%, 0%, 56% | HSV: 229°, 34%, 44%. Copy any format from the conversion table above.
What colors go well with #4B5271?
The complementary color is HSL(49, 20%, 37%). For a triadic harmony, use hues 229°, 349°, and 109°. For analogous combinations, try hues 199° and 259°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(229, 20%, 37%) in CSS?
As HSL: color: hsl(229, 20%, 37%); — As HEX: color: #4B5271; — As RGB: color: rgb(75, 82, 113); — Tailwind CSS: bg-[hsl(229,20%,37%)] — CSS variable: --color-primary: hsl(229, 20%, 37%);