HSL(218, 10%, 24%)
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(218,10%,24%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(218, 10%, 24%) | color: hsl(218, 10%, 24%) | |
| HEX | #373C43 | color: #373C43 | |
| RGB | rgb(55, 60, 67) | color: rgb(55, 60, 67) | |
| CMYK | cmyk(18%, 10%, 0%, 74%) | — | |
| HSV | hsv(215, 18%, 26%) | — | |
| HWB | hwb(215 21% 74%) | color: hwb(215 21% 74%) | |
| OKLCH | oklch(0.3542 0.0139 256.77) | color: oklch(0.3542 0.0139 256.77) | |
| Lab | lab(25.1 -0.34 -5.01) | color: lab(25.1 -0.34 -5.01) | |
| LCH | lch(25.1 5.02 266.12) | color: lch(25.1 5.02 266.12) |
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)
#393941 — rgb(57, 57, 65)
Deuteranopia (Green-blind)
#393941 — rgb(57, 57, 65)
Tritanopia (Blue-blind)
#374040 — rgb(55, 64, 64)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(218, 10%, 24%);
text
color: hsl(218, 10%, 24%);
border
border: 2px solid hsl(218, 10%, 24%);
gradient light
background: linear-gradient(to right, hsl(218, 10%, 44%), hsl(218, 10%, 24%));
gradient dark
background: linear-gradient(to right, hsl(218, 10%, 24%), hsl(218, 10%, 4%))
hex
background-color: #373C43;
tailwind
bg-[hsl(218,10%,24%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(218, 10%, 24%, 0.4);
css variable
--color-primary: hsl(218, 10%, 24%);
Related Colors
Use Cases for Grayish Blue
Frequently Asked Questions
What are all the color codes for HSL(218, 10%, 24%)?
HEX: #373C43 | RGB: rgb(55, 60, 67) | CMYK: 18%, 10%, 0%, 74% | HSV: 215°, 18%, 26%. Copy any format from the conversion table above.
What colors go well with #373C43?
The complementary color is HSL(38, 10%, 24%). For a triadic harmony, use hues 218°, 338°, and 98°. For analogous combinations, try hues 188° and 248°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(218, 10%, 24%) in CSS?
As HSL: color: hsl(218, 10%, 24%); — As HEX: color: #373C43; — As RGB: color: rgb(55, 60, 67); — Tailwind CSS: bg-[hsl(218,10%,24%)] — CSS variable: --color-primary: hsl(218, 10%, 24%);