HSL(238, 94%, 77%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(238,94%,77%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(238, 94%, 77%) | color: hsl(238, 94%, 77%) | |
| HEX | #8D91FB | color: #8D91FB | |
| RGB | rgb(141, 145, 251) | color: rgb(141, 145, 251) | |
| CMYK | cmyk(44%, 42%, 0%, 2%) | — | |
| HSV | hsv(238, 44%, 98%) | — | |
| HWB | hwb(238 55% 2%) | color: hwb(238 55% 2%) | |
| OKLCH | oklch(0.6998 0.1535 280.01) | color: oklch(0.6998 0.1535 280.01) | |
| Lab | lab(64.06 24.92 -53.45) | color: lab(64.06 24.92 -53.45) | |
| LCH | lch(64.06 58.97 295) | color: lch(64.06 58.97 295) |
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)
#8F8FE1 — rgb(143, 143, 225)
Deuteranopia (Green-blind)
#8F8EDB — rgb(143, 142, 219)
Tritanopia (Blue-blind)
#8DCDC9 — rgb(141, 205, 201)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(238, 94%, 77%);
text
color: hsl(238, 94%, 77%);
border
border: 2px solid hsl(238, 94%, 77%);
gradient light
background: linear-gradient(to right, hsl(238, 94%, 97%), hsl(238, 94%, 77%));
gradient dark
background: linear-gradient(to right, hsl(238, 94%, 77%), hsl(238, 94%, 57%))
hex
background-color: #8D91FB;
tailwind
bg-[hsl(238,94%,77%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(238, 94%, 77%, 0.4);
css variable
--color-primary: hsl(238, 94%, 77%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(238, 94%, 77%)?
HEX: #8D91FB | RGB: rgb(141, 145, 251) | CMYK: 44%, 42%, 0%, 2% | HSV: 238°, 44%, 98%. Copy any format from the conversion table above.
What colors go well with #8D91FB?
The complementary color is HSL(58, 94%, 77%). For a triadic harmony, use hues 238°, 358°, and 118°. For analogous combinations, try hues 208° and 268°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(238, 94%, 77%) in CSS?
As HSL: color: hsl(238, 94%, 77%); — As HEX: color: #8D91FB; — As RGB: color: rgb(141, 145, 251); — Tailwind CSS: bg-[hsl(238,94%,77%)] — CSS variable: --color-primary: hsl(238, 94%, 77%);