HSL(248, 64%, 55%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(248,64%,55%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(248, 64%, 55%) | color: hsl(248, 64%, 55%) | |
| HEX | #5643D6 | color: #5643D6 | |
| RGB | rgb(86, 67, 214) | color: rgb(86, 67, 214) | |
| CMYK | cmyk(60%, 69%, 0%, 16%) | — | |
| HSV | hsv(248, 69%, 84%) | — | |
| HWB | hwb(248 26% 16%) | color: hwb(248 26% 16%) | |
| OKLCH | oklch(0.4977 0.2138 281.15) | color: oklch(0.4977 0.2138 281.15) | |
| Lab | lab(39.32 48.57 -72.81) | color: lab(39.32 48.57 -72.81) | |
| LCH | lch(39.32 87.52 303.71) | color: lch(39.32 87.52 303.71) |
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)
#4E4EB2 — rgb(78, 78, 178)
Deuteranopia (Green-blind)
#4F50AA — rgb(79, 80, 170)
Tritanopia (Blue-blind)
#559690 — rgb(85, 150, 144)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(248, 64%, 55%);
text
color: hsl(248, 64%, 55%);
border
border: 2px solid hsl(248, 64%, 55%);
gradient light
background: linear-gradient(to right, hsl(248, 64%, 75%), hsl(248, 64%, 55%));
gradient dark
background: linear-gradient(to right, hsl(248, 64%, 55%), hsl(248, 64%, 35%))
hex
background-color: #5643D6;
tailwind
bg-[hsl(248,64%,55%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(248, 64%, 55%, 0.4);
css variable
--color-primary: hsl(248, 64%, 55%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(248, 64%, 55%)?
HEX: #5643D6 | RGB: rgb(86, 67, 214) | CMYK: 60%, 69%, 0%, 16% | HSV: 248°, 69%, 84%. Copy any format from the conversion table above.
What colors go well with #5643D6?
The complementary color is HSL(68, 64%, 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, 64%, 55%) in CSS?
As HSL: color: hsl(248, 64%, 55%); — As HEX: color: #5643D6; — As RGB: color: rgb(86, 67, 214); — Tailwind CSS: bg-[hsl(248,64%,55%)] — CSS variable: --color-primary: hsl(248, 64%, 55%);