HSL(241, 89%, 78%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(241,89%,78%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(241, 89%, 78%) | color: hsl(241, 89%, 78%) | |
| HEX | #9795F9 | color: #9795F9 | |
| RGB | rgb(151, 149, 249) | color: rgb(151, 149, 249) | |
| CMYK | cmyk(39%, 40%, 0%, 2%) | — | |
| HSV | hsv(241, 40%, 98%) | — | |
| HWB | hwb(241 59% 2%) | color: hwb(241 59% 2%) | |
| OKLCH | oklch(0.7136 0.1438 283.04) | color: oklch(0.7136 0.1438 283.04) | |
| Lab | lab(65.68 24.5 -49.75) | color: lab(65.68 24.5 -49.75) | |
| LCH | lch(65.68 55.46 296.22) | color: lch(65.68 55.46 296.22) |
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)
#9696E1 — rgb(150, 150, 225)
Deuteranopia (Green-blind)
#9696DB — rgb(150, 150, 219)
Tritanopia (Blue-blind)
#97CECA — rgb(151, 206, 202)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(241, 89%, 78%);
text
color: hsl(241, 89%, 78%);
border
border: 2px solid hsl(241, 89%, 78%);
gradient light
background: linear-gradient(to right, hsl(241, 89%, 98%), hsl(241, 89%, 78%));
gradient dark
background: linear-gradient(to right, hsl(241, 89%, 78%), hsl(241, 89%, 58%))
hex
background-color: #9795F9;
tailwind
bg-[hsl(241,89%,78%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(241, 89%, 78%, 0.4);
css variable
--color-primary: hsl(241, 89%, 78%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(241, 89%, 78%)?
HEX: #9795F9 | RGB: rgb(151, 149, 249) | CMYK: 39%, 40%, 0%, 2% | HSV: 241°, 40%, 98%. Copy any format from the conversion table above.
What colors go well with #9795F9?
The complementary color is HSL(61, 89%, 78%). For a triadic harmony, use hues 241°, 1°, and 121°. For analogous combinations, try hues 211° and 271°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(241, 89%, 78%) in CSS?
As HSL: color: hsl(241, 89%, 78%); — As HEX: color: #9795F9; — As RGB: color: rgb(151, 149, 249); — Tailwind CSS: bg-[hsl(241,89%,78%)] — CSS variable: --color-primary: hsl(241, 89%, 78%);