HSL(250, 80%, 48%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(250,80%,48%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(250, 80%, 48%) | color: hsl(250, 80%, 48%) | |
| HEX | #3918DC | color: #3918DC | |
| RGB | rgb(57, 24, 220) | color: rgb(57, 24, 220) | |
| CMYK | cmyk(74%, 89%, 0%, 14%) | — | |
| HSV | hsv(250, 89%, 86%) | — | |
| HWB | hwb(250 9% 14%) | color: hwb(250 9% 14%) | |
| OKLCH | oklch(0.4365 0.2606 274.39) | color: oklch(0.4365 0.2606 274.39) | |
| Lab | lab(31.09 66.8 -89.94) | color: lab(31.09 66.8 -89.94) | |
| LCH | lch(31.09 112.03 306.6) | color: lch(31.09 112.03 306.6) |
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)
#2B2AAD — rgb(43, 42, 173)
Deuteranopia (Green-blind)
#2D2FA1 — rgb(45, 47, 161)
Tritanopia (Blue-blind)
#37877F — rgb(55, 135, 127)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(250, 80%, 48%);
text
color: hsl(250, 80%, 48%);
border
border: 2px solid hsl(250, 80%, 48%);
gradient light
background: linear-gradient(to right, hsl(250, 80%, 68%), hsl(250, 80%, 48%));
gradient dark
background: linear-gradient(to right, hsl(250, 80%, 48%), hsl(250, 80%, 28%))
hex
background-color: #3918DC;
tailwind
bg-[hsl(250,80%,48%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(250, 80%, 48%, 0.4);
css variable
--color-primary: hsl(250, 80%, 48%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(250, 80%, 48%)?
HEX: #3918DC | RGB: rgb(57, 24, 220) | CMYK: 74%, 89%, 0%, 14% | HSV: 250°, 89%, 86%. Copy any format from the conversion table above.
What colors go well with #3918DC?
The complementary color is HSL(70, 80%, 48%). For a triadic harmony, use hues 250°, 10°, and 130°. For analogous combinations, try hues 220° and 280°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(250, 80%, 48%) in CSS?
As HSL: color: hsl(250, 80%, 48%); — As HEX: color: #3918DC; — As RGB: color: rgb(57, 24, 220); — Tailwind CSS: bg-[hsl(250,80%,48%)] — CSS variable: --color-primary: hsl(250, 80%, 48%);