HSL(237, 10%, 52%)
Grayish Blue — Blue color
Adjust Color
Color Information
Color Name
Grayish Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
N/A
CSS Class
bg-[hsl(237,10%,52%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(237, 10%, 52%) | color: hsl(237, 10%, 52%) | |
| HEX | #787A91 | color: #787A91 | |
| RGB | rgb(120, 122, 145) | color: rgb(120, 122, 145) | |
| CMYK | cmyk(17%, 16%, 0%, 43%) | — | |
| HSV | hsv(235, 17%, 57%) | — | |
| HWB | hwb(235 47% 43%) | color: hwb(235 47% 43%) | |
| OKLCH | oklch(0.5859 0.0351 281.33) | color: oklch(0.5859 0.0351 281.33) | |
| Lab | lab(51.79 4.29 -12.67) | color: lab(51.79 4.29 -12.67) | |
| LCH | lch(51.79 13.38 288.71) | color: lch(51.79 13.38 288.71) |
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)
#79798B — rgb(121, 121, 139)
Deuteranopia (Green-blind)
#79798A — rgb(121, 121, 138)
Tritanopia (Blue-blind)
#788786 — rgb(120, 135, 134)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(237, 10%, 52%);
text
color: hsl(237, 10%, 52%);
border
border: 2px solid hsl(237, 10%, 52%);
gradient light
background: linear-gradient(to right, hsl(237, 10%, 72%), hsl(237, 10%, 52%));
gradient dark
background: linear-gradient(to right, hsl(237, 10%, 52%), hsl(237, 10%, 32%))
hex
background-color: #787A91;
tailwind
bg-[hsl(237,10%,52%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(237, 10%, 52%, 0.4);
css variable
--color-primary: hsl(237, 10%, 52%);
Related Colors
Use Cases for Grayish Blue
Frequently Asked Questions
What are all the color codes for HSL(237, 10%, 52%)?
HEX: #787A91 | RGB: rgb(120, 122, 145) | CMYK: 17%, 16%, 0%, 43% | HSV: 235°, 17%, 57%. Copy any format from the conversion table above.
What colors go well with #787A91?
The complementary color is HSL(57, 10%, 52%). 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, 10%, 52%) in CSS?
As HSL: color: hsl(237, 10%, 52%); — As HEX: color: #787A91; — As RGB: color: rgb(120, 122, 145); — Tailwind CSS: bg-[hsl(237,10%,52%)] — CSS variable: --color-primary: hsl(237, 10%, 52%);