HSL(248, 23%, 64%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(248,23%,64%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(248, 23%, 64%) | color: hsl(248, 23%, 64%) | |
| HEX | #948EB8 | color: #948EB8 | |
| RGB | rgb(148, 142, 184) | color: rgb(148, 142, 184) | |
| CMYK | cmyk(20%, 23%, 0%, 28%) | — | |
| HSV | hsv(249, 23%, 72%) | — | |
| HWB | hwb(249 55% 28%) | color: hwb(249 55% 28%) | |
| OKLCH | oklch(0.6669 0.0619 291.17) | color: oklch(0.6669 0.0619 291.17) | |
| Lab | lab(60.87 11.1 -21.09) | color: lab(60.87 11.1 -21.09) | |
| LCH | lch(60.87 23.83 297.76) | color: lch(60.87 23.83 297.76) |
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)
#9191AE — rgb(145, 145, 174)
Deuteranopia (Green-blind)
#9292AB — rgb(146, 146, 171)
Tritanopia (Blue-blind)
#94A6A4 — rgb(148, 166, 164)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(248, 23%, 64%);
text
color: hsl(248, 23%, 64%);
border
border: 2px solid hsl(248, 23%, 64%);
gradient light
background: linear-gradient(to right, hsl(248, 23%, 84%), hsl(248, 23%, 64%));
gradient dark
background: linear-gradient(to right, hsl(248, 23%, 64%), hsl(248, 23%, 44%))
hex
background-color: #948EB8;
tailwind
bg-[hsl(248,23%,64%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(248, 23%, 64%, 0.4);
css variable
--color-primary: hsl(248, 23%, 64%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(248, 23%, 64%)?
HEX: #948EB8 | RGB: rgb(148, 142, 184) | CMYK: 20%, 23%, 0%, 28% | HSV: 249°, 23%, 72%. Copy any format from the conversion table above.
What colors go well with #948EB8?
The complementary color is HSL(68, 23%, 64%). 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, 23%, 64%) in CSS?
As HSL: color: hsl(248, 23%, 64%); — As HEX: color: #948EB8; — As RGB: color: rgb(148, 142, 184); — Tailwind CSS: bg-[hsl(248,23%,64%)] — CSS variable: --color-primary: hsl(248, 23%, 64%);