HSL(240, 14%, 68%)
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(240,14%,68%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(240, 14%, 68%) | color: hsl(240, 14%, 68%) | |
| HEX | #A2A2B9 | color: #A2A2B9 | |
| RGB | rgb(162, 162, 185) | color: rgb(162, 162, 185) | |
| CMYK | cmyk(12%, 12%, 0%, 27%) | — | |
| HSV | hsv(240, 12%, 73%) | — | |
| HWB | hwb(240 64% 27%) | color: hwb(240 64% 27%) | |
| OKLCH | oklch(0.7198 0.0331 285.54) | color: oklch(0.7198 0.0331 285.54) | |
| Lab | lab(67.3 4.65 -11.82) | color: lab(67.3 4.65 -11.82) | |
| LCH | lch(67.3 12.7 291.47) | color: lch(67.3 12.7 291.47) |
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)
#A2A2B3 — rgb(162, 162, 179)
Deuteranopia (Green-blind)
#A2A2B2 — rgb(162, 162, 178)
Tritanopia (Blue-blind)
#A2AFAE — rgb(162, 175, 174)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(240, 14%, 68%);
text
color: hsl(240, 14%, 68%);
border
border: 2px solid hsl(240, 14%, 68%);
gradient light
background: linear-gradient(to right, hsl(240, 14%, 88%), hsl(240, 14%, 68%));
gradient dark
background: linear-gradient(to right, hsl(240, 14%, 68%), hsl(240, 14%, 48%))
hex
background-color: #A2A2B9;
tailwind
bg-[hsl(240,14%,68%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(240, 14%, 68%, 0.4);
css variable
--color-primary: hsl(240, 14%, 68%);
Related Colors
Use Cases for Grayish Blue
Frequently Asked Questions
What are all the color codes for HSL(240, 14%, 68%)?
HEX: #A2A2B9 | RGB: rgb(162, 162, 185) | CMYK: 12%, 12%, 0%, 27% | HSV: 240°, 12%, 73%. Copy any format from the conversion table above.
What colors go well with #A2A2B9?
The complementary color is HSL(60, 14%, 68%). For a triadic harmony, use hues 240°, 0°, and 120°. For analogous combinations, try hues 210° and 270°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(240, 14%, 68%) in CSS?
As HSL: color: hsl(240, 14%, 68%); — As HEX: color: #A2A2B9; — As RGB: color: rgb(162, 162, 185); — Tailwind CSS: bg-[hsl(240,14%,68%)] — CSS variable: --color-primary: hsl(240, 14%, 68%);