HSL(232, 12%, 26%)
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(232,12%,26%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(232, 12%, 26%) | color: hsl(232, 12%, 26%) | |
| HEX | #3A3C4A | color: #3A3C4A | |
| RGB | rgb(58, 60, 74) | color: rgb(58, 60, 74) | |
| CMYK | cmyk(22%, 19%, 0%, 71%) | — | |
| HSV | hsv(233, 22%, 29%) | — | |
| HWB | hwb(233 23% 71%) | color: hwb(233 23% 71%) | |
| OKLCH | oklch(0.3599 0.0243 278.71) | color: oklch(0.3599 0.0243 278.71) | |
| Lab | lab(25.64 2.68 -8.81) | color: lab(25.64 2.68 -8.81) | |
| LCH | lch(25.64 9.21 286.92) | color: lch(25.64 9.21 286.92) |
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)
#3B3B47 — rgb(59, 59, 71)
Deuteranopia (Green-blind)
#3B3B46 — rgb(59, 59, 70)
Tritanopia (Blue-blind)
#3A4443 — rgb(58, 68, 67)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(232, 12%, 26%);
text
color: hsl(232, 12%, 26%);
border
border: 2px solid hsl(232, 12%, 26%);
gradient light
background: linear-gradient(to right, hsl(232, 12%, 46%), hsl(232, 12%, 26%));
gradient dark
background: linear-gradient(to right, hsl(232, 12%, 26%), hsl(232, 12%, 6%))
hex
background-color: #3A3C4A;
tailwind
bg-[hsl(232,12%,26%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(232, 12%, 26%, 0.4);
css variable
--color-primary: hsl(232, 12%, 26%);
Related Colors
Use Cases for Grayish Blue
Frequently Asked Questions
What are all the color codes for HSL(232, 12%, 26%)?
HEX: #3A3C4A | RGB: rgb(58, 60, 74) | CMYK: 22%, 19%, 0%, 71% | HSV: 233°, 22%, 29%. Copy any format from the conversion table above.
What colors go well with #3A3C4A?
The complementary color is HSL(52, 12%, 26%). For a triadic harmony, use hues 232°, 352°, and 112°. For analogous combinations, try hues 202° and 262°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(232, 12%, 26%) in CSS?
As HSL: color: hsl(232, 12%, 26%); — As HEX: color: #3A3C4A; — As RGB: color: rgb(58, 60, 74); — Tailwind CSS: bg-[hsl(232,12%,26%)] — CSS variable: --color-primary: hsl(232, 12%, 26%);