HSL(249, 12%, 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(249,12%,35%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(249, 12%, 35%) | color: hsl(249, 12%, 35%) | |
| HEX | #524F64 | color: #524F64 | |
| RGB | rgb(82, 79, 100) | color: rgb(82, 79, 100) | |
| CMYK | cmyk(18%, 21%, 0%, 61%) | — | |
| HSV | hsv(249, 21%, 39%) | — | |
| HWB | hwb(249 31% 61%) | color: hwb(249 31% 61%) | |
| OKLCH | oklch(0.4386 0.0344 291.46) | color: oklch(0.4386 0.0344 291.46) | |
| Lab | lab(34.61 6.1 -11.74) | color: lab(34.61 6.1 -11.74) | |
| LCH | lch(34.61 13.23 297.46) | color: lch(34.61 13.23 297.46) |
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)
#51515F — rgb(81, 81, 95)
Deuteranopia (Green-blind)
#51515E — rgb(81, 81, 94)
Tritanopia (Blue-blind)
#525B5A — rgb(82, 91, 90)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(249, 12%, 35%);
text
color: hsl(249, 12%, 35%);
border
border: 2px solid hsl(249, 12%, 35%);
gradient light
background: linear-gradient(to right, hsl(249, 12%, 55%), hsl(249, 12%, 35%));
gradient dark
background: linear-gradient(to right, hsl(249, 12%, 35%), hsl(249, 12%, 15%))
hex
background-color: #524F64;
tailwind
bg-[hsl(249,12%,35%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(249, 12%, 35%, 0.4);
css variable
--color-primary: hsl(249, 12%, 35%);
Related Colors
Use Cases for Grayish Blue
Frequently Asked Questions
What are all the color codes for HSL(249, 12%, 35%)?
HEX: #524F64 | RGB: rgb(82, 79, 100) | CMYK: 18%, 21%, 0%, 61% | HSV: 249°, 21%, 39%. Copy any format from the conversion table above.
What colors go well with #524F64?
The complementary color is HSL(69, 12%, 35%). For a triadic harmony, use hues 249°, 9°, and 129°. For analogous combinations, try hues 219° and 279°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(249, 12%, 35%) in CSS?
As HSL: color: hsl(249, 12%, 35%); — As HEX: color: #524F64; — As RGB: color: rgb(82, 79, 100); — Tailwind CSS: bg-[hsl(249,12%,35%)] — CSS variable: --color-primary: hsl(249, 12%, 35%);