HSL(218, 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(218,10%,52%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(218, 10%, 52%) | color: hsl(218, 10%, 52%) | |
| HEX | #788191 | color: #788191 | |
| RGB | rgb(120, 129, 145) | color: rgb(120, 129, 145) | |
| CMYK | cmyk(17%, 11%, 0%, 43%) | — | |
| HSV | hsv(218, 17%, 57%) | — | |
| HWB | hwb(218 47% 43%) | color: hwb(218 47% 43%) | |
| OKLCH | oklch(0.6013 0.0266 262.04) | color: oklch(0.6013 0.0266 262.04) | |
| Lab | lab(53.75 0.22 -9.72) | color: lab(53.75 0.22 -9.72) | |
| LCH | lch(53.75 9.72 271.3) | color: lch(53.75 9.72 271.3) |
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)
#7C7C8D — rgb(124, 124, 141)
Deuteranopia (Green-blind)
#7B7B8C — rgb(123, 123, 140)
Tritanopia (Blue-blind)
#788A89 — rgb(120, 138, 137)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(218, 10%, 52%);
text
color: hsl(218, 10%, 52%);
border
border: 2px solid hsl(218, 10%, 52%);
gradient light
background: linear-gradient(to right, hsl(218, 10%, 72%), hsl(218, 10%, 52%));
gradient dark
background: linear-gradient(to right, hsl(218, 10%, 52%), hsl(218, 10%, 32%))
hex
background-color: #788191;
tailwind
bg-[hsl(218,10%,52%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(218, 10%, 52%, 0.4);
css variable
--color-primary: hsl(218, 10%, 52%);
Related Colors
Use Cases for Grayish Blue
Frequently Asked Questions
What are all the color codes for HSL(218, 10%, 52%)?
HEX: #788191 | RGB: rgb(120, 129, 145) | CMYK: 17%, 11%, 0%, 43% | HSV: 218°, 17%, 57%. Copy any format from the conversion table above.
What colors go well with #788191?
The complementary color is HSL(38, 10%, 52%). For a triadic harmony, use hues 218°, 338°, and 98°. For analogous combinations, try hues 188° and 248°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(218, 10%, 52%) in CSS?
As HSL: color: hsl(218, 10%, 52%); — As HEX: color: #788191; — As RGB: color: rgb(120, 129, 145); — Tailwind CSS: bg-[hsl(218,10%,52%)] — CSS variable: --color-primary: hsl(218, 10%, 52%);