HSL(237, 89%, 79%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(237,89%,79%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(237, 89%, 79%) | color: hsl(237, 89%, 79%) | |
| HEX | #9A9FF9 | color: #9A9FF9 | |
| RGB | rgb(154, 159, 249) | color: rgb(154, 159, 249) | |
| CMYK | cmyk(38%, 36%, 0%, 2%) | — | |
| HSV | hsv(237, 38%, 98%) | — | |
| HWB | hwb(237 61% 2%) | color: hwb(237 61% 2%) | |
| OKLCH | oklch(0.7349 0.1296 280.27) | color: oklch(0.7349 0.1296 280.27) | |
| Lab | lab(68.39 19.54 -45.46) | color: lab(68.39 19.54 -45.46) | |
| LCH | lch(68.39 49.48 293.26) | color: lch(68.39 49.48 293.26) |
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)
#9C9CE3 — rgb(156, 156, 227)
Deuteranopia (Green-blind)
#9C9CDE — rgb(156, 156, 222)
Tritanopia (Blue-blind)
#9AD2CE — rgb(154, 210, 206)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(237, 89%, 79%);
text
color: hsl(237, 89%, 79%);
border
border: 2px solid hsl(237, 89%, 79%);
gradient light
background: linear-gradient(to right, hsl(237, 89%, 99%), hsl(237, 89%, 79%));
gradient dark
background: linear-gradient(to right, hsl(237, 89%, 79%), hsl(237, 89%, 59%))
hex
background-color: #9A9FF9;
tailwind
bg-[hsl(237,89%,79%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(237, 89%, 79%, 0.4);
css variable
--color-primary: hsl(237, 89%, 79%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(237, 89%, 79%)?
HEX: #9A9FF9 | RGB: rgb(154, 159, 249) | CMYK: 38%, 36%, 0%, 2% | HSV: 237°, 38%, 98%. Copy any format from the conversion table above.
What colors go well with #9A9FF9?
The complementary color is HSL(57, 89%, 79%). For a triadic harmony, use hues 237°, 357°, and 117°. For analogous combinations, try hues 207° and 267°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(237, 89%, 79%) in CSS?
As HSL: color: hsl(237, 89%, 79%); — As HEX: color: #9A9FF9; — As RGB: color: rgb(154, 159, 249); — Tailwind CSS: bg-[hsl(237,89%,79%)] — CSS variable: --color-primary: hsl(237, 89%, 79%);