HSL(221, 12%, 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(221,12%,52%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(221, 12%, 52%) | color: hsl(221, 12%, 52%) | |
| HEX | #767F93 | color: #767F93 | |
| RGB | rgb(118, 127, 147) | color: rgb(118, 127, 147) | |
| CMYK | cmyk(20%, 14%, 0%, 42%) | — | |
| HSV | hsv(221, 20%, 58%) | — | |
| HWB | hwb(221 46% 42%) | color: hwb(221 46% 42%) | |
| OKLCH | oklch(0.596 0.0324 266.19) | color: oklch(0.596 0.0324 266.19) | |
| Lab | lab(53.1 1.16 -11.88) | color: lab(53.1 1.16 -11.88) | |
| LCH | lch(53.1 11.94 275.58) | color: lch(53.1 11.94 275.58) |
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)
#7A7A8E — rgb(122, 122, 142)
Deuteranopia (Green-blind)
#79798D — rgb(121, 121, 141)
Tritanopia (Blue-blind)
#768A8A — rgb(118, 138, 138)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(221, 12%, 52%);
text
color: hsl(221, 12%, 52%);
border
border: 2px solid hsl(221, 12%, 52%);
gradient light
background: linear-gradient(to right, hsl(221, 12%, 72%), hsl(221, 12%, 52%));
gradient dark
background: linear-gradient(to right, hsl(221, 12%, 52%), hsl(221, 12%, 32%))
hex
background-color: #767F93;
tailwind
bg-[hsl(221,12%,52%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(221, 12%, 52%, 0.4);
css variable
--color-primary: hsl(221, 12%, 52%);
Related Colors
Use Cases for Grayish Blue
Frequently Asked Questions
What are all the color codes for HSL(221, 12%, 52%)?
HEX: #767F93 | RGB: rgb(118, 127, 147) | CMYK: 20%, 14%, 0%, 42% | HSV: 221°, 20%, 58%. Copy any format from the conversion table above.
What colors go well with #767F93?
The complementary color is HSL(41, 12%, 52%). For a triadic harmony, use hues 221°, 341°, and 101°. For analogous combinations, try hues 191° and 251°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(221, 12%, 52%) in CSS?
As HSL: color: hsl(221, 12%, 52%); — As HEX: color: #767F93; — As RGB: color: rgb(118, 127, 147); — Tailwind CSS: bg-[hsl(221,12%,52%)] — CSS variable: --color-primary: hsl(221, 12%, 52%);