HSL(237, 98%, 79%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(237,98%,79%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(237, 98%, 79%) | color: hsl(237, 98%, 79%) | |
| HEX | #959AFE | color: #959AFE | |
| RGB | rgb(149, 154, 254) | color: rgb(149, 154, 254) | |
| CMYK | cmyk(41%, 39%, 0%, 0%) | — | |
| HSV | hsv(237, 41%, 100%) | — | |
| HWB | hwb(237 59% 0%) | color: hwb(237 59% 0%) | |
| OKLCH | oklch(0.7242 0.1441 279.98) | color: oklch(0.7242 0.1441 279.98) | |
| Lab | lab(67.02 22.5 -50.37) | color: lab(67.02 22.5 -50.37) | |
| LCH | lch(67.02 55.17 294.07) | color: lch(67.02 55.17 294.07) |
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)
#9797E6 — rgb(151, 151, 230)
Deuteranopia (Green-blind)
#9797E0 — rgb(151, 151, 224)
Tritanopia (Blue-blind)
#95D3CF — rgb(149, 211, 207)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(237, 98%, 79%);
text
color: hsl(237, 98%, 79%);
border
border: 2px solid hsl(237, 98%, 79%);
gradient light
background: linear-gradient(to right, hsl(237, 98%, 99%), hsl(237, 98%, 79%));
gradient dark
background: linear-gradient(to right, hsl(237, 98%, 79%), hsl(237, 98%, 59%))
hex
background-color: #959AFE;
tailwind
bg-[hsl(237,98%,79%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(237, 98%, 79%, 0.4);
css variable
--color-primary: hsl(237, 98%, 79%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(237, 98%, 79%)?
HEX: #959AFE | RGB: rgb(149, 154, 254) | CMYK: 41%, 39%, 0%, 0% | HSV: 237°, 41%, 100%. Copy any format from the conversion table above.
What colors go well with #959AFE?
The complementary color is HSL(57, 98%, 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, 98%, 79%) in CSS?
As HSL: color: hsl(237, 98%, 79%); — As HEX: color: #959AFE; — As RGB: color: rgb(149, 154, 254); — Tailwind CSS: bg-[hsl(237,98%,79%)] — CSS variable: --color-primary: hsl(237, 98%, 79%);