HSL(251, 57%, 47%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(251,57%,47%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(251, 57%, 47%) | color: hsl(251, 57%, 47%) | |
| HEX | #4D34BC | color: #4D34BC | |
| RGB | rgb(77, 52, 188) | color: rgb(77, 52, 188) | |
| CMYK | cmyk(59%, 72%, 0%, 26%) | — | |
| HSV | hsv(251, 72%, 74%) | — | |
| HWB | hwb(251 21% 26%) | color: hwb(251 21% 26%) | |
| OKLCH | oklch(0.4456 0.2 283.09) | color: oklch(0.4456 0.2 283.09) | |
| Lab | lab(33.27 47.61 -67.62) | color: lab(33.27 47.61 -67.62) | |
| LCH | lch(33.27 82.7 305.15) | color: lch(33.27 82.7 305.15) |
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)
#42429B — rgb(66, 66, 155)
Deuteranopia (Green-blind)
#444693 — rgb(68, 70, 147)
Tritanopia (Blue-blind)
#4C817B — rgb(76, 129, 123)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(251, 57%, 47%);
text
color: hsl(251, 57%, 47%);
border
border: 2px solid hsl(251, 57%, 47%);
gradient light
background: linear-gradient(to right, hsl(251, 57%, 67%), hsl(251, 57%, 47%));
gradient dark
background: linear-gradient(to right, hsl(251, 57%, 47%), hsl(251, 57%, 27%))
hex
background-color: #4D34BC;
tailwind
bg-[hsl(251,57%,47%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(251, 57%, 47%, 0.4);
css variable
--color-primary: hsl(251, 57%, 47%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(251, 57%, 47%)?
HEX: #4D34BC | RGB: rgb(77, 52, 188) | CMYK: 59%, 72%, 0%, 26% | HSV: 251°, 72%, 74%. Copy any format from the conversion table above.
What colors go well with #4D34BC?
The complementary color is HSL(71, 57%, 47%). For a triadic harmony, use hues 251°, 11°, and 131°. For analogous combinations, try hues 221° and 281°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(251, 57%, 47%) in CSS?
As HSL: color: hsl(251, 57%, 47%); — As HEX: color: #4D34BC; — As RGB: color: rgb(77, 52, 188); — Tailwind CSS: bg-[hsl(251,57%,47%)] — CSS variable: --color-primary: hsl(251, 57%, 47%);