HSL(235, 100%, 78%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(235,100%,78%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(235, 100%, 78%) | color: hsl(235, 100%, 78%) | |
| HEX | #8F98FF | color: #8F98FF | |
| RGB | rgb(143, 152, 255) | color: rgb(143, 152, 255) | |
| CMYK | cmyk(44%, 40%, 0%, 0%) | — | |
| HSV | hsv(235, 44%, 100%) | — | |
| HWB | hwb(235 56% 0%) | color: hwb(235 56% 0%) | |
| OKLCH | oklch(0.7167 0.1492 278.14) | color: oklch(0.7167 0.1492 278.14) | |
| Lab | lab(66.15 22.48 -52.32) | color: lab(66.15 22.48 -52.32) | |
| LCH | lch(66.15 56.94 293.25) | color: lch(66.15 56.94 293.25) |
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)
#9393E6 — rgb(147, 147, 230)
Deuteranopia (Green-blind)
#9292E0 — rgb(146, 146, 224)
Tritanopia (Blue-blind)
#8FD2CE — rgb(143, 210, 206)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(235, 100%, 78%);
text
color: hsl(235, 100%, 78%);
border
border: 2px solid hsl(235, 100%, 78%);
gradient light
background: linear-gradient(to right, hsl(235, 100%, 98%), hsl(235, 100%, 78%));
gradient dark
background: linear-gradient(to right, hsl(235, 100%, 78%), hsl(235, 100%, 58%))
hex
background-color: #8F98FF;
tailwind
bg-[hsl(235,100%,78%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(235, 100%, 78%, 0.4);
css variable
--color-primary: hsl(235, 100%, 78%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(235, 100%, 78%)?
HEX: #8F98FF | RGB: rgb(143, 152, 255) | CMYK: 44%, 40%, 0%, 0% | HSV: 235°, 44%, 100%. Copy any format from the conversion table above.
What colors go well with #8F98FF?
The complementary color is HSL(55, 100%, 78%). For a triadic harmony, use hues 235°, 355°, and 115°. For analogous combinations, try hues 205° and 265°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(235, 100%, 78%) in CSS?
As HSL: color: hsl(235, 100%, 78%); — As HEX: color: #8F98FF; — As RGB: color: rgb(143, 152, 255); — Tailwind CSS: bg-[hsl(235,100%,78%)] — CSS variable: --color-primary: hsl(235, 100%, 78%);