HSL(210, 12%, 56%)
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(210,12%,56%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(210, 12%, 56%) | color: hsl(210, 12%, 56%) | |
| HEX | #818F9C | color: #818F9C | |
| RGB | rgb(129, 143, 156) | color: rgb(129, 143, 156) | |
| CMYK | cmyk(17%, 8%, 0%, 39%) | — | |
| HSV | hsv(209, 17%, 61%) | — | |
| HWB | hwb(209 51% 39%) | color: hwb(209 51% 39%) | |
| OKLCH | oklch(0.6431 0.0254 246.21) | color: oklch(0.6431 0.0254 246.21) | |
| Lab | lab(58.71 -2.19 -8.58) | color: lab(58.71 -2.19 -8.58) | |
| LCH | lch(58.71 8.86 255.68) | color: lch(58.71 8.86 255.68) |
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)
#878799 — rgb(135, 135, 153)
Deuteranopia (Green-blind)
#868598 — rgb(134, 133, 152)
Tritanopia (Blue-blind)
#829696 — rgb(130, 150, 150)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(210, 12%, 56%);
text
color: hsl(210, 12%, 56%);
border
border: 2px solid hsl(210, 12%, 56%);
gradient light
background: linear-gradient(to right, hsl(210, 12%, 76%), hsl(210, 12%, 56%));
gradient dark
background: linear-gradient(to right, hsl(210, 12%, 56%), hsl(210, 12%, 36%))
hex
background-color: #818F9C;
tailwind
bg-[hsl(210,12%,56%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(210, 12%, 56%, 0.4);
css variable
--color-primary: hsl(210, 12%, 56%);
Related Colors
Use Cases for Grayish Blue
Frequently Asked Questions
What are all the color codes for HSL(210, 12%, 56%)?
HEX: #818F9C | RGB: rgb(129, 143, 156) | CMYK: 17%, 8%, 0%, 39% | HSV: 209°, 17%, 61%. Copy any format from the conversion table above.
What colors go well with #818F9C?
The complementary color is HSL(30, 12%, 56%). For a triadic harmony, use hues 210°, 330°, and 90°. For analogous combinations, try hues 180° and 240°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(210, 12%, 56%) in CSS?
As HSL: color: hsl(210, 12%, 56%); — As HEX: color: #818F9C; — As RGB: color: rgb(129, 143, 156); — Tailwind CSS: bg-[hsl(210,12%,56%)] — CSS variable: --color-primary: hsl(210, 12%, 56%);