HSL(242, 86%, 77%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(242,86%,77%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(242, 86%, 77%) | color: hsl(242, 86%, 77%) | |
| HEX | #9592F7 | color: #9592F7 | |
| RGB | rgb(149, 146, 247) | color: rgb(149, 146, 247) | |
| CMYK | cmyk(40%, 41%, 0%, 3%) | — | |
| HSV | hsv(242, 41%, 97%) | — | |
| HWB | hwb(242 57% 3%) | color: hwb(242 57% 3%) | |
| OKLCH | oklch(0.7054 0.1454 283.36) | color: oklch(0.7054 0.1454 283.36) | |
| Lab | lab(64.69 25.18 -50.22) | color: lab(64.69 25.18 -50.22) | |
| LCH | lch(64.69 56.18 296.63) | color: lch(64.69 56.18 296.63) |
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)
#9494DF — rgb(148, 148, 223)
Deuteranopia (Green-blind)
#9494D9 — rgb(148, 148, 217)
Tritanopia (Blue-blind)
#95CBC7 — rgb(149, 203, 199)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(242, 86%, 77%);
text
color: hsl(242, 86%, 77%);
border
border: 2px solid hsl(242, 86%, 77%);
gradient light
background: linear-gradient(to right, hsl(242, 86%, 97%), hsl(242, 86%, 77%));
gradient dark
background: linear-gradient(to right, hsl(242, 86%, 77%), hsl(242, 86%, 57%))
hex
background-color: #9592F7;
tailwind
bg-[hsl(242,86%,77%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(242, 86%, 77%, 0.4);
css variable
--color-primary: hsl(242, 86%, 77%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(242, 86%, 77%)?
HEX: #9592F7 | RGB: rgb(149, 146, 247) | CMYK: 40%, 41%, 0%, 3% | HSV: 242°, 41%, 97%. Copy any format from the conversion table above.
What colors go well with #9592F7?
The complementary color is HSL(62, 86%, 77%). For a triadic harmony, use hues 242°, 2°, and 122°. For analogous combinations, try hues 212° and 272°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(242, 86%, 77%) in CSS?
As HSL: color: hsl(242, 86%, 77%); — As HEX: color: #9592F7; — As RGB: color: rgb(149, 146, 247); — Tailwind CSS: bg-[hsl(242,86%,77%)] — CSS variable: --color-primary: hsl(242, 86%, 77%);