HSL(237, 17%, 55%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
N/A
CSS Class
bg-[hsl(237,17%,55%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(237, 17%, 55%) | color: hsl(237, 17%, 55%) | |
| HEX | #797BA0 | color: #797BA0 | |
| RGB | rgb(121, 123, 160) | color: rgb(121, 123, 160) | |
| CMYK | cmyk(24%, 23%, 0%, 37%) | — | |
| HSV | hsv(237, 24%, 63%) | — | |
| HWB | hwb(237 48% 37%) | color: hwb(237 48% 37%) | |
| OKLCH | oklch(0.595 0.0563 282.12) | color: oklch(0.595 0.0563 282.12) | |
| Lab | lab(52.7 7.66 -20.03) | color: lab(52.7 7.66 -20.03) | |
| LCH | lch(52.7 21.44 290.93) | color: lch(52.7 21.44 290.93) |
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)
#7A7A97 — rgb(122, 122, 151)
Deuteranopia (Green-blind)
#7A7A95 — rgb(122, 122, 149)
Tritanopia (Blue-blind)
#79908E — rgb(121, 144, 142)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(237, 17%, 55%);
text
color: hsl(237, 17%, 55%);
border
border: 2px solid hsl(237, 17%, 55%);
gradient light
background: linear-gradient(to right, hsl(237, 17%, 75%), hsl(237, 17%, 55%));
gradient dark
background: linear-gradient(to right, hsl(237, 17%, 55%), hsl(237, 17%, 35%))
hex
background-color: #797BA0;
tailwind
bg-[hsl(237,17%,55%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(237, 17%, 55%, 0.4);
css variable
--color-primary: hsl(237, 17%, 55%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(237, 17%, 55%)?
HEX: #797BA0 | RGB: rgb(121, 123, 160) | CMYK: 24%, 23%, 0%, 37% | HSV: 237°, 24%, 63%. Copy any format from the conversion table above.
What colors go well with #797BA0?
The complementary color is HSL(57, 17%, 55%). 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, 17%, 55%) in CSS?
As HSL: color: hsl(237, 17%, 55%); — As HEX: color: #797BA0; — As RGB: color: rgb(121, 123, 160); — Tailwind CSS: bg-[hsl(237,17%,55%)] — CSS variable: --color-primary: hsl(237, 17%, 55%);