HSL(251, 12%, 50%)
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(251,12%,50%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(251, 12%, 50%) | color: hsl(251, 12%, 50%) | |
| HEX | #76708F | color: #76708F | |
| RGB | rgb(118, 112, 143) | color: rgb(118, 112, 143) | |
| CMYK | cmyk(17%, 22%, 0%, 44%) | — | |
| HSV | hsv(252, 22%, 56%) | — | |
| HWB | hwb(252 44% 44%) | color: hwb(252 44% 44%) | |
| OKLCH | oklch(0.5619 0.0479 293.68) | color: oklch(0.5619 0.0479 293.68) | |
| Lab | lab(48.79 9.05 -16.06) | color: lab(48.79 9.05 -16.06) | |
| LCH | lch(48.79 18.43 299.4) | color: lch(48.79 18.43 299.4) |
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: white
Color Blindness Simulation
Protanopia (Red-blind)
#737387 — rgb(115, 115, 135)
Deuteranopia (Green-blind)
#747486 — rgb(116, 116, 134)
Tritanopia (Blue-blind)
#768280 — rgb(118, 130, 128)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(251, 12%, 50%);
text
color: hsl(251, 12%, 50%);
border
border: 2px solid hsl(251, 12%, 50%);
gradient light
background: linear-gradient(to right, hsl(251, 12%, 70%), hsl(251, 12%, 50%));
gradient dark
background: linear-gradient(to right, hsl(251, 12%, 50%), hsl(251, 12%, 30%))
hex
background-color: #76708F;
tailwind
bg-[hsl(251,12%,50%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(251, 12%, 50%, 0.4);
css variable
--color-primary: hsl(251, 12%, 50%);
Related Colors
Use Cases for Grayish Blue
Frequently Asked Questions
What are all the color codes for HSL(251, 12%, 50%)?
HEX: #76708F | RGB: rgb(118, 112, 143) | CMYK: 17%, 22%, 0%, 44% | HSV: 252°, 22%, 56%. Copy any format from the conversion table above.
What colors go well with #76708F?
The complementary color is HSL(71, 12%, 50%). For a triadic harmony, use hues 251°, 11°, and 131°. For analogous combinations, try hues 221° and 281°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(251, 12%, 50%) in CSS?
As HSL: color: hsl(251, 12%, 50%); — As HEX: color: #76708F; — As RGB: color: rgb(118, 112, 143); — Tailwind CSS: bg-[hsl(251,12%,50%)] — CSS variable: --color-primary: hsl(251, 12%, 50%);