HSL(248, 71%, 47%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(248,71%,47%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(248, 71%, 47%) | color: hsl(248, 71%, 47%) | |
| HEX | #3923CD | color: #3923CD | |
| RGB | rgb(57, 35, 205) | color: rgb(57, 35, 205) | |
| CMYK | cmyk(72%, 83%, 0%, 20%) | — | |
| HSV | hsv(248, 83%, 80%) | — | |
| HWB | hwb(248 14% 20%) | color: hwb(248 14% 20%) | |
| OKLCH | oklch(0.428 0.2383 275.28) | color: oklch(0.428 0.2383 275.28) | |
| Lab | lab(30.59 58.8 -82.08) | color: lab(30.59 58.8 -82.08) | |
| LCH | lch(30.59 100.97 305.62) | color: lch(30.59 100.97 305.62) |
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)
#2F2FA4 — rgb(47, 47, 164)
Deuteranopia (Green-blind)
#31329A — rgb(49, 50, 154)
Tritanopia (Blue-blind)
#38837C — rgb(56, 131, 124)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(248, 71%, 47%);
text
color: hsl(248, 71%, 47%);
border
border: 2px solid hsl(248, 71%, 47%);
gradient light
background: linear-gradient(to right, hsl(248, 71%, 67%), hsl(248, 71%, 47%));
gradient dark
background: linear-gradient(to right, hsl(248, 71%, 47%), hsl(248, 71%, 27%))
hex
background-color: #3923CD;
tailwind
bg-[hsl(248,71%,47%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(248, 71%, 47%, 0.4);
css variable
--color-primary: hsl(248, 71%, 47%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(248, 71%, 47%)?
HEX: #3923CD | RGB: rgb(57, 35, 205) | CMYK: 72%, 83%, 0%, 20% | HSV: 248°, 83%, 80%. Copy any format from the conversion table above.
What colors go well with #3923CD?
The complementary color is HSL(68, 71%, 47%). 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, 71%, 47%) in CSS?
As HSL: color: hsl(248, 71%, 47%); — As HEX: color: #3923CD; — As RGB: color: rgb(57, 35, 205); — Tailwind CSS: bg-[hsl(248,71%,47%)] — CSS variable: --color-primary: hsl(248, 71%, 47%);