HSL(242, 77%, 75%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(242,77%,75%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(242, 77%, 75%) | color: hsl(242, 77%, 75%) | |
| HEX | #918EF0 | color: #918EF0 | |
| RGB | rgb(145, 142, 240) | color: rgb(145, 142, 240) | |
| CMYK | cmyk(40%, 41%, 0%, 6%) | — | |
| HSV | hsv(242, 41%, 94%) | — | |
| HWB | hwb(242 55% 6%) | color: hwb(242 55% 6%) | |
| OKLCH | oklch(0.691 0.1419 283.42) | color: oklch(0.691 0.1419 283.42) | |
| Lab | lab(63.06 24.56 -48.98) | color: lab(63.06 24.56 -48.98) | |
| LCH | lch(63.06 54.79 296.63) | color: lch(63.06 54.79 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)
#9090D8 — rgb(144, 144, 216)
Deuteranopia (Green-blind)
#9090D3 — rgb(144, 144, 211)
Tritanopia (Blue-blind)
#91C6C1 — rgb(145, 198, 193)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(242, 77%, 75%);
text
color: hsl(242, 77%, 75%);
border
border: 2px solid hsl(242, 77%, 75%);
gradient light
background: linear-gradient(to right, hsl(242, 77%, 95%), hsl(242, 77%, 75%));
gradient dark
background: linear-gradient(to right, hsl(242, 77%, 75%), hsl(242, 77%, 55%))
hex
background-color: #918EF0;
tailwind
bg-[hsl(242,77%,75%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(242, 77%, 75%, 0.4);
css variable
--color-primary: hsl(242, 77%, 75%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(242, 77%, 75%)?
HEX: #918EF0 | RGB: rgb(145, 142, 240) | CMYK: 40%, 41%, 0%, 6% | HSV: 242°, 41%, 94%. Copy any format from the conversion table above.
What colors go well with #918EF0?
The complementary color is HSL(62, 77%, 75%). 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, 77%, 75%) in CSS?
As HSL: color: hsl(242, 77%, 75%); — As HEX: color: #918EF0; — As RGB: color: rgb(145, 142, 240); — Tailwind CSS: bg-[hsl(242,77%,75%)] — CSS variable: --color-primary: hsl(242, 77%, 75%);