HSL(237, 45%, 74%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(237,45%,74%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(237, 45%, 74%) | color: hsl(237, 45%, 74%) | |
| HEX | #9FA2DB | color: #9FA2DB | |
| RGB | rgb(159, 162, 219) | color: rgb(159, 162, 219) | |
| CMYK | cmyk(27%, 26%, 0%, 14%) | — | |
| HSV | hsv(237, 27%, 86%) | — | |
| HWB | hwb(237 63% 14%) | color: hwb(237 63% 14%) | |
| OKLCH | oklch(0.7307 0.0824 281.81) | color: oklch(0.7307 0.0824 281.81) | |
| Lab | lab(68.26 11.51 -29.2) | color: lab(68.26 11.51 -29.2) | |
| LCH | lch(68.26 31.39 291.51) | color: lch(68.26 31.39 291.51) |
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)
#A0A0CD — rgb(160, 160, 205)
Deuteranopia (Green-blind)
#A0A0CA — rgb(160, 160, 202)
Tritanopia (Blue-blind)
#9FC2C0 — rgb(159, 194, 192)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(237, 45%, 74%);
text
color: hsl(237, 45%, 74%);
border
border: 2px solid hsl(237, 45%, 74%);
gradient light
background: linear-gradient(to right, hsl(237, 45%, 94%), hsl(237, 45%, 74%));
gradient dark
background: linear-gradient(to right, hsl(237, 45%, 74%), hsl(237, 45%, 54%))
hex
background-color: #9FA2DB;
tailwind
bg-[hsl(237,45%,74%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(237, 45%, 74%, 0.4);
css variable
--color-primary: hsl(237, 45%, 74%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(237, 45%, 74%)?
HEX: #9FA2DB | RGB: rgb(159, 162, 219) | CMYK: 27%, 26%, 0%, 14% | HSV: 237°, 27%, 86%. Copy any format from the conversion table above.
What colors go well with #9FA2DB?
The complementary color is HSL(57, 45%, 74%). 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, 45%, 74%) in CSS?
As HSL: color: hsl(237, 45%, 74%); — As HEX: color: #9FA2DB; — As RGB: color: rgb(159, 162, 219); — Tailwind CSS: bg-[hsl(237,45%,74%)] — CSS variable: --color-primary: hsl(237, 45%, 74%);