HSL(248, 76%, 55%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(248,76%,55%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(248, 76%, 55%) | color: hsl(248, 76%, 55%) | |
| HEX | #4C35E3 | color: #4C35E3 | |
| RGB | rgb(76, 53, 227) | color: rgb(76, 53, 227) | |
| CMYK | cmyk(67%, 77%, 0%, 11%) | — | |
| HSV | hsv(248, 77%, 89%) | — | |
| HWB | hwb(248 20% 11%) | color: hwb(248 20% 11%) | |
| OKLCH | oklch(0.4842 0.2446 278.04) | color: oklch(0.4842 0.2446 278.04) | |
| Lab | lab(37.16 58.58 -83.83) | color: lab(37.16 58.58 -83.83) | |
| LCH | lch(37.16 102.27 304.95) | color: lch(37.16 102.27 304.95) |
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)
#4242B9 — rgb(66, 66, 185)
Deuteranopia (Green-blind)
#4345AF — rgb(67, 69, 175)
Tritanopia (Blue-blind)
#4B9890 — rgb(75, 152, 144)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(248, 76%, 55%);
text
color: hsl(248, 76%, 55%);
border
border: 2px solid hsl(248, 76%, 55%);
gradient light
background: linear-gradient(to right, hsl(248, 76%, 75%), hsl(248, 76%, 55%));
gradient dark
background: linear-gradient(to right, hsl(248, 76%, 55%), hsl(248, 76%, 35%))
hex
background-color: #4C35E3;
tailwind
bg-[hsl(248,76%,55%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(248, 76%, 55%, 0.4);
css variable
--color-primary: hsl(248, 76%, 55%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(248, 76%, 55%)?
HEX: #4C35E3 | RGB: rgb(76, 53, 227) | CMYK: 67%, 77%, 0%, 11% | HSV: 248°, 77%, 89%. Copy any format from the conversion table above.
What colors go well with #4C35E3?
The complementary color is HSL(68, 76%, 55%). For a triadic harmony, use hues 248°, 8°, and 128°. For analogous combinations, try hues 218° and 278°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(248, 76%, 55%) in CSS?
As HSL: color: hsl(248, 76%, 55%); — As HEX: color: #4C35E3; — As RGB: color: rgb(76, 53, 227); — Tailwind CSS: bg-[hsl(248,76%,55%)] — CSS variable: --color-primary: hsl(248, 76%, 55%);