HSL(232, 12%, 58%)
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%,58%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(232, 12%, 58%) | color: hsl(232, 12%, 58%) | |
| HEX | #878AA1 | color: #878AA1 | |
| RGB | rgb(135, 138, 161) | color: rgb(135, 138, 161) | |
| CMYK | cmyk(16%, 14%, 0%, 37%) | — | |
| HSV | hsv(233, 16%, 63%) | — | |
| HWB | hwb(233 53% 37%) | color: hwb(233 53% 37%) | |
| OKLCH | oklch(0.6388 0.0345 279.5) | color: oklch(0.6388 0.0345 279.5) | |
| Lab | lab(57.94 3.81 -12.54) | color: lab(57.94 3.81 -12.54) | |
| LCH | lch(57.94 13.11 286.9) | color: lch(57.94 13.11 286.9) |
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: black
Color Blindness Simulation
Protanopia (Red-blind)
#88889B — rgb(136, 136, 155)
Deuteranopia (Green-blind)
#88889A — rgb(136, 136, 154)
Tritanopia (Blue-blind)
#879796 — rgb(135, 151, 150)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(232, 12%, 58%);
text
color: hsl(232, 12%, 58%);
border
border: 2px solid hsl(232, 12%, 58%);
gradient light
background: linear-gradient(to right, hsl(232, 12%, 78%), hsl(232, 12%, 58%));
gradient dark
background: linear-gradient(to right, hsl(232, 12%, 58%), hsl(232, 12%, 38%))
hex
background-color: #878AA1;
tailwind
bg-[hsl(232,12%,58%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(232, 12%, 58%, 0.4);
css variable
--color-primary: hsl(232, 12%, 58%);
Related Colors
Use Cases for Grayish Blue
Frequently Asked Questions
What are all the color codes for HSL(232, 12%, 58%)?
HEX: #878AA1 | RGB: rgb(135, 138, 161) | CMYK: 16%, 14%, 0%, 37% | HSV: 233°, 16%, 63%. Copy any format from the conversion table above.
What colors go well with #878AA1?
The complementary color is HSL(52, 12%, 58%). 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%, 58%) in CSS?
As HSL: color: hsl(232, 12%, 58%); — As HEX: color: #878AA1; — As RGB: color: rgb(135, 138, 161); — Tailwind CSS: bg-[hsl(232,12%,58%)] — CSS variable: --color-primary: hsl(232, 12%, 58%);