HSL(237, 12%, 23%)
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(237,12%,23%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(237, 12%, 23%) | color: hsl(237, 12%, 23%) | |
| HEX | #343442 | color: #343442 | |
| RGB | rgb(52, 52, 66) | color: rgb(52, 52, 66) | |
| CMYK | cmyk(21%, 21%, 0%, 74%) | — | |
| HSV | hsv(240, 21%, 26%) | — | |
| HWB | hwb(240 21% 74%) | color: hwb(240 21% 74%) | |
| OKLCH | oklch(0.3309 0.0246 284.98) | color: oklch(0.3309 0.0246 284.98) | |
| Lab | lab(22.23 3.56 -8.7) | color: lab(22.23 3.56 -8.7) | |
| LCH | lch(22.23 9.4 292.25) | color: lch(22.23 9.4 292.25) |
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)
#34343F — rgb(52, 52, 63)
Deuteranopia (Green-blind)
#34343E — rgb(52, 52, 62)
Tritanopia (Blue-blind)
#343C3B — rgb(52, 60, 59)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(237, 12%, 23%);
text
color: hsl(237, 12%, 23%);
border
border: 2px solid hsl(237, 12%, 23%);
gradient light
background: linear-gradient(to right, hsl(237, 12%, 43%), hsl(237, 12%, 23%));
gradient dark
background: linear-gradient(to right, hsl(237, 12%, 23%), hsl(237, 12%, 3%))
hex
background-color: #343442;
tailwind
bg-[hsl(237,12%,23%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(237, 12%, 23%, 0.4);
css variable
--color-primary: hsl(237, 12%, 23%);
Related Colors
Use Cases for Grayish Blue
Frequently Asked Questions
What are all the color codes for HSL(237, 12%, 23%)?
HEX: #343442 | RGB: rgb(52, 52, 66) | CMYK: 21%, 21%, 0%, 74% | HSV: 240°, 21%, 26%. Copy any format from the conversion table above.
What colors go well with #343442?
The complementary color is HSL(57, 12%, 23%). For a triadic harmony, use hues 237°, 357°, and 117°. For analogous combinations, try hues 207° and 267°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(237, 12%, 23%) in CSS?
As HSL: color: hsl(237, 12%, 23%); — As HEX: color: #343442; — As RGB: color: rgb(52, 52, 66); — Tailwind CSS: bg-[hsl(237,12%,23%)] — CSS variable: --color-primary: hsl(237, 12%, 23%);