HSL(253, 30%, 38%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(253,30%,38%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(253, 30%, 38%) | color: hsl(253, 30%, 38%) | |
| HEX | #50447E | color: #50447E | |
| RGB | rgb(80, 68, 126) | color: rgb(80, 68, 126) | |
| CMYK | cmyk(37%, 46%, 0%, 51%) | — | |
| HSV | hsv(252, 46%, 49%) | — | |
| HWB | hwb(252 26% 51%) | color: hwb(252 26% 51%) | |
| OKLCH | oklch(0.4267 0.0943 291.39) | color: oklch(0.4267 0.0943 291.39) | |
| Lab | lab(32.58 19.67 -31.19) | color: lab(32.58 19.67 -31.19) | |
| LCH | lch(32.58 36.87 302.24) | color: lch(32.58 36.87 302.24) |
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)
#4B4B70 — rgb(75, 75, 112)
Deuteranopia (Green-blind)
#4C4C6D — rgb(76, 76, 109)
Tritanopia (Blue-blind)
#4F6562 — rgb(79, 101, 98)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(253, 30%, 38%);
text
color: hsl(253, 30%, 38%);
border
border: 2px solid hsl(253, 30%, 38%);
gradient light
background: linear-gradient(to right, hsl(253, 30%, 58%), hsl(253, 30%, 38%));
gradient dark
background: linear-gradient(to right, hsl(253, 30%, 38%), hsl(253, 30%, 18%))
hex
background-color: #50447E;
tailwind
bg-[hsl(253,30%,38%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(253, 30%, 38%, 0.4);
css variable
--color-primary: hsl(253, 30%, 38%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(253, 30%, 38%)?
HEX: #50447E | RGB: rgb(80, 68, 126) | CMYK: 37%, 46%, 0%, 51% | HSV: 252°, 46%, 49%. Copy any format from the conversion table above.
What colors go well with #50447E?
The complementary color is HSL(73, 30%, 38%). For a triadic harmony, use hues 253°, 13°, and 133°. For analogous combinations, try hues 223° and 283°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(253, 30%, 38%) in CSS?
As HSL: color: hsl(253, 30%, 38%); — As HEX: color: #50447E; — As RGB: color: rgb(80, 68, 126); — Tailwind CSS: bg-[hsl(253,30%,38%)] — CSS variable: --color-primary: hsl(253, 30%, 38%);