HSL(237, 40%, 70%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(237,40%,70%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(237, 40%, 70%) | color: hsl(237, 40%, 70%) | |
| HEX | #9497D1 | color: #9497D1 | |
| RGB | rgb(148, 151, 209) | color: rgb(148, 151, 209) | |
| CMYK | cmyk(29%, 28%, 0%, 18%) | — | |
| HSV | hsv(237, 29%, 82%) | — | |
| HWB | hwb(237 58% 18%) | color: hwb(237 58% 18%) | |
| OKLCH | oklch(0.6957 0.0849 281.65) | color: oklch(0.6957 0.0849 281.65) | |
| Lab | lab(64.19 12.02 -30.02) | color: lab(64.19 12.02 -30.02) | |
| LCH | lch(64.19 32.34 291.82) | color: lch(64.19 32.34 291.82) |
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)
#9595C3 — rgb(149, 149, 195)
Deuteranopia (Green-blind)
#9595C0 — rgb(149, 149, 192)
Tritanopia (Blue-blind)
#94B8B5 — rgb(148, 184, 181)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(237, 40%, 70%);
text
color: hsl(237, 40%, 70%);
border
border: 2px solid hsl(237, 40%, 70%);
gradient light
background: linear-gradient(to right, hsl(237, 40%, 90%), hsl(237, 40%, 70%));
gradient dark
background: linear-gradient(to right, hsl(237, 40%, 70%), hsl(237, 40%, 50%))
hex
background-color: #9497D1;
tailwind
bg-[hsl(237,40%,70%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(237, 40%, 70%, 0.4);
css variable
--color-primary: hsl(237, 40%, 70%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(237, 40%, 70%)?
HEX: #9497D1 | RGB: rgb(148, 151, 209) | CMYK: 29%, 28%, 0%, 18% | HSV: 237°, 29%, 82%. Copy any format from the conversion table above.
What colors go well with #9497D1?
The complementary color is HSL(57, 40%, 70%). 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, 40%, 70%) in CSS?
As HSL: color: hsl(237, 40%, 70%); — As HEX: color: #9497D1; — As RGB: color: rgb(148, 151, 209); — Tailwind CSS: bg-[hsl(237,40%,70%)] — CSS variable: --color-primary: hsl(237, 40%, 70%);