HSL(238, 10%, 63%)
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(238,10%,63%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(238, 10%, 63%) | color: hsl(238, 10%, 63%) | |
| HEX | #9798AA | color: #9798AA | |
| RGB | rgb(151, 152, 170) | color: rgb(151, 152, 170) | |
| CMYK | cmyk(11%, 11%, 0%, 33%) | — | |
| HSV | hsv(237, 11%, 67%) | — | |
| HWB | hwb(237 60% 33%) | color: hwb(237 60% 33%) | |
| OKLCH | oklch(0.6848 0.0263 283.15) | color: oklch(0.6848 0.0263 283.15) | |
| Lab | lab(63.29 3.3 -9.5) | color: lab(63.29 3.3 -9.5) | |
| LCH | lch(63.29 10.06 289.16) | color: lch(63.29 10.06 289.16) |
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)
#9797A6 — rgb(151, 151, 166)
Deuteranopia (Green-blind)
#9797A5 — rgb(151, 151, 165)
Tritanopia (Blue-blind)
#97A2A1 — rgb(151, 162, 161)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(238, 10%, 63%);
text
color: hsl(238, 10%, 63%);
border
border: 2px solid hsl(238, 10%, 63%);
gradient light
background: linear-gradient(to right, hsl(238, 10%, 83%), hsl(238, 10%, 63%));
gradient dark
background: linear-gradient(to right, hsl(238, 10%, 63%), hsl(238, 10%, 43%))
hex
background-color: #9798AA;
tailwind
bg-[hsl(238,10%,63%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(238, 10%, 63%, 0.4);
css variable
--color-primary: hsl(238, 10%, 63%);
Related Colors
Use Cases for Grayish Blue
Frequently Asked Questions
What are all the color codes for HSL(238, 10%, 63%)?
HEX: #9798AA | RGB: rgb(151, 152, 170) | CMYK: 11%, 11%, 0%, 33% | HSV: 237°, 11%, 67%. Copy any format from the conversion table above.
What colors go well with #9798AA?
The complementary color is HSL(58, 10%, 63%). For a triadic harmony, use hues 238°, 358°, and 118°. For analogous combinations, try hues 208° and 268°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(238, 10%, 63%) in CSS?
As HSL: color: hsl(238, 10%, 63%); — As HEX: color: #9798AA; — As RGB: color: rgb(151, 152, 170); — Tailwind CSS: bg-[hsl(238,10%,63%)] — CSS variable: --color-primary: hsl(238, 10%, 63%);