HSL(210, 10%, 35%)
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,10%,35%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(210, 10%, 35%) | color: hsl(210, 10%, 35%) | |
| HEX | #505962 | color: #505962 | |
| RGB | rgb(80, 89, 98) | color: rgb(80, 89, 98) | |
| CMYK | cmyk(18%, 9%, 0%, 62%) | — | |
| HSV | hsv(210, 18%, 38%) | — | |
| HWB | hwb(210 31% 62%) | color: hwb(210 31% 62%) | |
| OKLCH | oklch(0.4594 0.0186 248.23) | color: oklch(0.4594 0.0186 248.23) | |
| Lab | lab(37.36 -1.38 -6.37) | color: lab(37.36 -1.38 -6.37) | |
| LCH | lch(37.36 6.52 257.78) | color: lch(37.36 6.52 257.78) |
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)
#545460 — rgb(84, 84, 96)
Deuteranopia (Green-blind)
#53535F — rgb(83, 83, 95)
Tritanopia (Blue-blind)
#505E5E — rgb(80, 94, 94)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(210, 10%, 35%);
text
color: hsl(210, 10%, 35%);
border
border: 2px solid hsl(210, 10%, 35%);
gradient light
background: linear-gradient(to right, hsl(210, 10%, 55%), hsl(210, 10%, 35%));
gradient dark
background: linear-gradient(to right, hsl(210, 10%, 35%), hsl(210, 10%, 15%))
hex
background-color: #505962;
tailwind
bg-[hsl(210,10%,35%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(210, 10%, 35%, 0.4);
css variable
--color-primary: hsl(210, 10%, 35%);
Related Colors
Use Cases for Grayish Blue
Frequently Asked Questions
What are all the color codes for HSL(210, 10%, 35%)?
HEX: #505962 | RGB: rgb(80, 89, 98) | CMYK: 18%, 9%, 0%, 62% | HSV: 210°, 18%, 38%. Copy any format from the conversion table above.
What colors go well with #505962?
The complementary color is HSL(30, 10%, 35%). 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, 10%, 35%) in CSS?
As HSL: color: hsl(210, 10%, 35%); — As HEX: color: #505962; — As RGB: color: rgb(80, 89, 98); — Tailwind CSS: bg-[hsl(210,10%,35%)] — CSS variable: --color-primary: hsl(210, 10%, 35%);