HSL(241, 98%, 79%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(241,98%,79%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(241, 98%, 79%) | color: hsl(241, 98%, 79%) | |
| HEX | #9795FE | color: #9795FE | |
| RGB | rgb(151, 149, 254) | color: rgb(151, 149, 254) | |
| CMYK | cmyk(41%, 41%, 0%, 0%) | — | |
| HSV | hsv(241, 41%, 100%) | — | |
| HWB | hwb(241 59% 0%) | color: hwb(241 59% 0%) | |
| OKLCH | oklch(0.7163 0.1506 282.77) | color: oklch(0.7163 0.1506 282.77) | |
| Lab | lab(65.93 25.87 -52.09) | color: lab(65.93 25.87 -52.09) | |
| LCH | lch(65.93 58.16 296.41) | color: lch(65.93 58.16 296.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)
#9696E5 — rgb(150, 150, 229)
Deuteranopia (Green-blind)
#9696DF — rgb(150, 150, 223)
Tritanopia (Blue-blind)
#97D1CC — rgb(151, 209, 204)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(241, 98%, 79%);
text
color: hsl(241, 98%, 79%);
border
border: 2px solid hsl(241, 98%, 79%);
gradient light
background: linear-gradient(to right, hsl(241, 98%, 99%), hsl(241, 98%, 79%));
gradient dark
background: linear-gradient(to right, hsl(241, 98%, 79%), hsl(241, 98%, 59%))
hex
background-color: #9795FE;
tailwind
bg-[hsl(241,98%,79%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(241, 98%, 79%, 0.4);
css variable
--color-primary: hsl(241, 98%, 79%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(241, 98%, 79%)?
HEX: #9795FE | RGB: rgb(151, 149, 254) | CMYK: 41%, 41%, 0%, 0% | HSV: 241°, 41%, 100%. Copy any format from the conversion table above.
What colors go well with #9795FE?
The complementary color is HSL(61, 98%, 79%). 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, 98%, 79%) in CSS?
As HSL: color: hsl(241, 98%, 79%); — As HEX: color: #9795FE; — As RGB: color: rgb(151, 149, 254); — Tailwind CSS: bg-[hsl(241,98%,79%)] — CSS variable: --color-primary: hsl(241, 98%, 79%);