HSL(227, 10%, 39%)
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(227,10%,39%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(227, 10%, 39%) | color: hsl(227, 10%, 39%) | |
| HEX | #5A5E6D | color: #5A5E6D | |
| RGB | rgb(90, 94, 109) | color: rgb(90, 94, 109) | |
| CMYK | cmyk(17%, 14%, 0%, 57%) | — | |
| HSV | hsv(227, 17%, 43%) | — | |
| HWB | hwb(227 36% 57%) | color: hwb(227 36% 57%) | |
| OKLCH | oklch(0.4839 0.0246 273.65) | color: oklch(0.4839 0.0246 273.65) | |
| Lab | lab(40.05 1.9 -9.04) | color: lab(40.05 1.9 -9.04) | |
| LCH | lch(40.05 9.24 281.87) | color: lch(40.05 9.24 281.87) |
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)
#5C5C69 — rgb(92, 92, 105)
Deuteranopia (Green-blind)
#5C5B69 — rgb(92, 91, 105)
Tritanopia (Blue-blind)
#5A6766 — rgb(90, 103, 102)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(227, 10%, 39%);
text
color: hsl(227, 10%, 39%);
border
border: 2px solid hsl(227, 10%, 39%);
gradient light
background: linear-gradient(to right, hsl(227, 10%, 59%), hsl(227, 10%, 39%));
gradient dark
background: linear-gradient(to right, hsl(227, 10%, 39%), hsl(227, 10%, 19%))
hex
background-color: #5A5E6D;
tailwind
bg-[hsl(227,10%,39%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(227, 10%, 39%, 0.4);
css variable
--color-primary: hsl(227, 10%, 39%);
Related Colors
Use Cases for Grayish Blue
Frequently Asked Questions
What are all the color codes for HSL(227, 10%, 39%)?
HEX: #5A5E6D | RGB: rgb(90, 94, 109) | CMYK: 17%, 14%, 0%, 57% | HSV: 227°, 17%, 43%. Copy any format from the conversion table above.
What colors go well with #5A5E6D?
The complementary color is HSL(47, 10%, 39%). For a triadic harmony, use hues 227°, 347°, and 107°. For analogous combinations, try hues 197° and 257°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(227, 10%, 39%) in CSS?
As HSL: color: hsl(227, 10%, 39%); — As HEX: color: #5A5E6D; — As RGB: color: rgb(90, 94, 109); — Tailwind CSS: bg-[hsl(227,10%,39%)] — CSS variable: --color-primary: hsl(227, 10%, 39%);