HSL(239, 72%, 59%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(239,72%,59%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(239, 72%, 59%) | color: hsl(239, 72%, 59%) | |
| HEX | #4B4EE2 | color: #4B4EE2 | |
| RGB | rgb(75, 78, 226) | color: rgb(75, 78, 226) | |
| CMYK | cmyk(67%, 65%, 0%, 11%) | — | |
| HSV | hsv(239, 67%, 89%) | — | |
| HWB | hwb(239 29% 11%) | color: hwb(239 29% 11%) | |
| OKLCH | oklch(0.5175 0.2187 274.77) | color: oklch(0.5175 0.2187 274.77) | |
| Lab | lab(41.9 44.57 -75.48) | color: lab(41.9 44.57 -75.48) | |
| LCH | lch(41.9 87.66 300.56) | color: lch(41.9 87.66 300.56) |
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)
#4C4CBE — rgb(76, 76, 190)
Deuteranopia (Green-blind)
#4C4CB6 — rgb(76, 76, 182)
Tritanopia (Blue-blind)
#4BA29C — rgb(75, 162, 156)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(239, 72%, 59%);
text
color: hsl(239, 72%, 59%);
border
border: 2px solid hsl(239, 72%, 59%);
gradient light
background: linear-gradient(to right, hsl(239, 72%, 79%), hsl(239, 72%, 59%));
gradient dark
background: linear-gradient(to right, hsl(239, 72%, 59%), hsl(239, 72%, 39%))
hex
background-color: #4B4EE2;
tailwind
bg-[hsl(239,72%,59%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(239, 72%, 59%, 0.4);
css variable
--color-primary: hsl(239, 72%, 59%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(239, 72%, 59%)?
HEX: #4B4EE2 | RGB: rgb(75, 78, 226) | CMYK: 67%, 65%, 0%, 11% | HSV: 239°, 67%, 89%. Copy any format from the conversion table above.
What colors go well with #4B4EE2?
The complementary color is HSL(59, 72%, 59%). For a triadic harmony, use hues 239°, 359°, and 119°. For analogous combinations, try hues 209° and 269°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(239, 72%, 59%) in CSS?
As HSL: color: hsl(239, 72%, 59%); — As HEX: color: #4B4EE2; — As RGB: color: rgb(75, 78, 226); — Tailwind CSS: bg-[hsl(239,72%,59%)] — CSS variable: --color-primary: hsl(239, 72%, 59%);