HSL(248, 67%, 73%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(248,67%,73%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(248, 67%, 73%) | color: hsl(248, 67%, 73%) | |
| HEX | #988CE8 | color: #988CE8 | |
| RGB | rgb(152, 140, 232) | color: rgb(152, 140, 232) | |
| CMYK | cmyk(34%, 40%, 0%, 9%) | — | |
| HSV | hsv(248, 40%, 91%) | — | |
| HWB | hwb(248 55% 9%) | color: hwb(248 55% 9%) | |
| OKLCH | oklch(0.6886 0.1332 288.37) | color: oklch(0.6886 0.1332 288.37) | |
| Lab | lab(62.72 25.39 -45.05) | color: lab(62.72 25.39 -45.05) | |
| LCH | lch(62.72 51.71 299.41) | color: lch(62.72 51.71 299.41) |
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)
#9393D2 — rgb(147, 147, 210)
Deuteranopia (Green-blind)
#9494CC — rgb(148, 148, 204)
Tritanopia (Blue-blind)
#97C0BC — rgb(151, 192, 188)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(248, 67%, 73%);
text
color: hsl(248, 67%, 73%);
border
border: 2px solid hsl(248, 67%, 73%);
gradient light
background: linear-gradient(to right, hsl(248, 67%, 93%), hsl(248, 67%, 73%));
gradient dark
background: linear-gradient(to right, hsl(248, 67%, 73%), hsl(248, 67%, 53%))
hex
background-color: #988CE8;
tailwind
bg-[hsl(248,67%,73%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(248, 67%, 73%, 0.4);
css variable
--color-primary: hsl(248, 67%, 73%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(248, 67%, 73%)?
HEX: #988CE8 | RGB: rgb(152, 140, 232) | CMYK: 34%, 40%, 0%, 9% | HSV: 248°, 40%, 91%. Copy any format from the conversion table above.
What colors go well with #988CE8?
The complementary color is HSL(68, 67%, 73%). 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, 67%, 73%) in CSS?
As HSL: color: hsl(248, 67%, 73%); — As HEX: color: #988CE8; — As RGB: color: rgb(152, 140, 232); — Tailwind CSS: bg-[hsl(248,67%,73%)] — CSS variable: --color-primary: hsl(248, 67%, 73%);