HSL(248, 30%, 63%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(248,30%,63%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(248, 30%, 63%) | color: hsl(248, 30%, 63%) | |
| HEX | #8C84BD | color: #8C84BD | |
| RGB | rgb(140, 132, 189) | color: rgb(140, 132, 189) | |
| CMYK | cmyk(26%, 30%, 0%, 26%) | — | |
| HSV | hsv(248, 30%, 74%) | — | |
| HWB | hwb(248 52% 26%) | color: hwb(248 52% 26%) | |
| OKLCH | oklch(0.6422 0.0847 290.23) | color: oklch(0.6422 0.0847 290.23) | |
| Lab | lab(57.8 15.57 -28.7) | color: lab(57.8 15.57 -28.7) | |
| LCH | lch(57.8 32.65 298.48) | color: lch(57.8 32.65 298.48) |
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: black
Color Blindness Simulation
Protanopia (Red-blind)
#8988AF — rgb(137, 136, 175)
Deuteranopia (Green-blind)
#898AAC — rgb(137, 138, 172)
Tritanopia (Blue-blind)
#8CA4A2 — rgb(140, 164, 162)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(248, 30%, 63%);
text
color: hsl(248, 30%, 63%);
border
border: 2px solid hsl(248, 30%, 63%);
gradient light
background: linear-gradient(to right, hsl(248, 30%, 83%), hsl(248, 30%, 63%));
gradient dark
background: linear-gradient(to right, hsl(248, 30%, 63%), hsl(248, 30%, 43%))
hex
background-color: #8C84BD;
tailwind
bg-[hsl(248,30%,63%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(248, 30%, 63%, 0.4);
css variable
--color-primary: hsl(248, 30%, 63%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(248, 30%, 63%)?
HEX: #8C84BD | RGB: rgb(140, 132, 189) | CMYK: 26%, 30%, 0%, 26% | HSV: 248°, 30%, 74%. Copy any format from the conversion table above.
What colors go well with #8C84BD?
The complementary color is HSL(68, 30%, 63%). 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, 30%, 63%) in CSS?
As HSL: color: hsl(248, 30%, 63%); — As HEX: color: #8C84BD; — As RGB: color: rgb(140, 132, 189); — Tailwind CSS: bg-[hsl(248,30%,63%)] — CSS variable: --color-primary: hsl(248, 30%, 63%);