HSL(241, 85%, 76%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(241,85%,76%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(241, 85%, 76%) | color: hsl(241, 85%, 76%) | |
| HEX | #908EF6 | color: #908EF6 | |
| RGB | rgb(144, 142, 246) | color: rgb(144, 142, 246) | |
| CMYK | cmyk(41%, 42%, 0%, 4%) | — | |
| HSV | hsv(241, 42%, 96%) | — | |
| HWB | hwb(241 56% 4%) | color: hwb(241 56% 4%) | |
| OKLCH | oklch(0.6936 0.1502 282.62) | color: oklch(0.6936 0.1502 282.62) | |
| Lab | lab(63.28 25.97 -51.93) | color: lab(63.28 25.97 -51.93) | |
| LCH | lch(63.28 58.06 296.57) | color: lch(63.28 58.06 296.57) |
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)
#8F8FDD — rgb(143, 143, 221)
Deuteranopia (Green-blind)
#8F8FD7 — rgb(143, 143, 215)
Tritanopia (Blue-blind)
#90C9C5 — rgb(144, 201, 197)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(241, 85%, 76%);
text
color: hsl(241, 85%, 76%);
border
border: 2px solid hsl(241, 85%, 76%);
gradient light
background: linear-gradient(to right, hsl(241, 85%, 96%), hsl(241, 85%, 76%));
gradient dark
background: linear-gradient(to right, hsl(241, 85%, 76%), hsl(241, 85%, 56%))
hex
background-color: #908EF6;
tailwind
bg-[hsl(241,85%,76%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(241, 85%, 76%, 0.4);
css variable
--color-primary: hsl(241, 85%, 76%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(241, 85%, 76%)?
HEX: #908EF6 | RGB: rgb(144, 142, 246) | CMYK: 41%, 42%, 0%, 4% | HSV: 241°, 42%, 96%. Copy any format from the conversion table above.
What colors go well with #908EF6?
The complementary color is HSL(61, 85%, 76%). 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, 85%, 76%) in CSS?
As HSL: color: hsl(241, 85%, 76%); — As HEX: color: #908EF6; — As RGB: color: rgb(144, 142, 246); — Tailwind CSS: bg-[hsl(241,85%,76%)] — CSS variable: --color-primary: hsl(241, 85%, 76%);