HSL(233, 59%, 56%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(233,59%,56%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(233, 59%, 56%) | color: hsl(233, 59%, 56%) | |
| HEX | #4D5CD1 | color: #4D5CD1 | |
| RGB | rgb(77, 92, 209) | color: rgb(77, 92, 209) | |
| CMYK | cmyk(63%, 56%, 0%, 18%) | — | |
| HSV | hsv(233, 63%, 82%) | — | |
| HWB | hwb(233 30% 18%) | color: hwb(233 30% 18%) | |
| OKLCH | oklch(0.5291 0.1794 273.12) | color: oklch(0.5291 0.1794 273.12) | |
| Lab | lab(43.99 30.61 -62.34) | color: lab(43.99 30.61 -62.34) | |
| LCH | lch(43.99 69.45 296.15) | color: lch(43.99 69.45 296.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)
#5354B5 — rgb(83, 84, 181)
Deuteranopia (Green-blind)
#5352AE — rgb(83, 82, 174)
Tritanopia (Blue-blind)
#4E9E99 — rgb(78, 158, 153)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(233, 59%, 56%);
text
color: hsl(233, 59%, 56%);
border
border: 2px solid hsl(233, 59%, 56%);
gradient light
background: linear-gradient(to right, hsl(233, 59%, 76%), hsl(233, 59%, 56%));
gradient dark
background: linear-gradient(to right, hsl(233, 59%, 56%), hsl(233, 59%, 36%))
hex
background-color: #4D5CD1;
tailwind
bg-[hsl(233,59%,56%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(233, 59%, 56%, 0.4);
css variable
--color-primary: hsl(233, 59%, 56%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(233, 59%, 56%)?
HEX: #4D5CD1 | RGB: rgb(77, 92, 209) | CMYK: 63%, 56%, 0%, 18% | HSV: 233°, 63%, 82%. Copy any format from the conversion table above.
What colors go well with #4D5CD1?
The complementary color is HSL(53, 59%, 56%). For a triadic harmony, use hues 233°, 353°, and 113°. For analogous combinations, try hues 203° and 263°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(233, 59%, 56%) in CSS?
As HSL: color: hsl(233, 59%, 56%); — As HEX: color: #4D5CD1; — As RGB: color: rgb(77, 92, 209); — Tailwind CSS: bg-[hsl(233,59%,56%)] — CSS variable: --color-primary: hsl(233, 59%, 56%);