HSL(237, 20%, 68%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(237,20%,68%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(237, 20%, 68%) | color: hsl(237, 20%, 68%) | |
| HEX | #9D9FBE | color: #9D9FBE | |
| RGB | rgb(157, 159, 190) | color: rgb(157, 159, 190) | |
| CMYK | cmyk(17%, 16%, 0%, 25%) | — | |
| HSV | hsv(236, 17%, 75%) | — | |
| HWB | hwb(236 62% 25%) | color: hwb(236 62% 25%) | |
| OKLCH | oklch(0.7114 0.045 282.28) | color: oklch(0.7114 0.045 282.28) | |
| Lab | lab(66.28 5.76 -16.18) | color: lab(66.28 5.76 -16.18) | |
| LCH | lch(66.28 17.17 289.6) | color: lch(66.28 17.17 289.6) |
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)
#9E9EB6 — rgb(158, 158, 182)
Deuteranopia (Green-blind)
#9E9EB5 — rgb(158, 158, 181)
Tritanopia (Blue-blind)
#9DB1AF — rgb(157, 177, 175)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(237, 20%, 68%);
text
color: hsl(237, 20%, 68%);
border
border: 2px solid hsl(237, 20%, 68%);
gradient light
background: linear-gradient(to right, hsl(237, 20%, 88%), hsl(237, 20%, 68%));
gradient dark
background: linear-gradient(to right, hsl(237, 20%, 68%), hsl(237, 20%, 48%))
hex
background-color: #9D9FBE;
tailwind
bg-[hsl(237,20%,68%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(237, 20%, 68%, 0.4);
css variable
--color-primary: hsl(237, 20%, 68%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(237, 20%, 68%)?
HEX: #9D9FBE | RGB: rgb(157, 159, 190) | CMYK: 17%, 16%, 0%, 25% | HSV: 236°, 17%, 75%. Copy any format from the conversion table above.
What colors go well with #9D9FBE?
The complementary color is HSL(57, 20%, 68%). 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, 20%, 68%) in CSS?
As HSL: color: hsl(237, 20%, 68%); — As HEX: color: #9D9FBE; — As RGB: color: rgb(157, 159, 190); — Tailwind CSS: bg-[hsl(237,20%,68%)] — CSS variable: --color-primary: hsl(237, 20%, 68%);