HSL(237, 83%, 79%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(237,83%,79%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(237, 83%, 79%) | color: hsl(237, 83%, 79%) | |
| HEX | #9DA1F6 | color: #9DA1F6 | |
| RGB | rgb(157, 161, 246) | color: rgb(157, 161, 246) | |
| CMYK | cmyk(36%, 35%, 0%, 4%) | — | |
| HSV | hsv(237, 36%, 96%) | — | |
| HWB | hwb(237 61% 4%) | color: hwb(237 61% 4%) | |
| OKLCH | oklch(0.7395 0.1222 280.9) | color: oklch(0.7395 0.1222 280.9) | |
| Lab | lab(68.98 18.39 -42.9) | color: lab(68.98 18.39 -42.9) | |
| LCH | lch(68.98 46.68 293.2) | color: lch(68.98 46.68 293.2) |
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)
#9F9FE1 — rgb(159, 159, 225)
Deuteranopia (Green-blind)
#9F9EDD — rgb(159, 158, 221)
Tritanopia (Blue-blind)
#9DD1CE — rgb(157, 209, 206)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(237, 83%, 79%);
text
color: hsl(237, 83%, 79%);
border
border: 2px solid hsl(237, 83%, 79%);
gradient light
background: linear-gradient(to right, hsl(237, 83%, 99%), hsl(237, 83%, 79%));
gradient dark
background: linear-gradient(to right, hsl(237, 83%, 79%), hsl(237, 83%, 59%))
hex
background-color: #9DA1F6;
tailwind
bg-[hsl(237,83%,79%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(237, 83%, 79%, 0.4);
css variable
--color-primary: hsl(237, 83%, 79%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(237, 83%, 79%)?
HEX: #9DA1F6 | RGB: rgb(157, 161, 246) | CMYK: 36%, 35%, 0%, 4% | HSV: 237°, 36%, 96%. Copy any format from the conversion table above.
What colors go well with #9DA1F6?
The complementary color is HSL(57, 83%, 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, 83%, 79%) in CSS?
As HSL: color: hsl(237, 83%, 79%); — As HEX: color: #9DA1F6; — As RGB: color: rgb(157, 161, 246); — Tailwind CSS: bg-[hsl(237,83%,79%)] — CSS variable: --color-primary: hsl(237, 83%, 79%);