HSL(253, 10%, 20%)
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(253,10%,20%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(253, 10%, 20%) | color: hsl(253, 10%, 20%) | |
| HEX | #302E38 | color: #302E38 | |
| RGB | rgb(48, 46, 56) | color: rgb(48, 46, 56) | |
| CMYK | cmyk(14%, 18%, 0%, 78%) | — | |
| HSV | hsv(252, 18%, 22%) | — | |
| HWB | hwb(252 18% 78%) | color: hwb(252 18% 78%) | |
| OKLCH | oklch(0.3074 0.018 294.49) | color: oklch(0.3074 0.018 294.49) | |
| Lab | lab(19.51 3.36 -6.04) | color: lab(19.51 3.36 -6.04) | |
| LCH | lch(19.51 6.91 299.09) | color: lch(19.51 6.91 299.09) |
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)
#2F2F36 — rgb(47, 47, 54)
Deuteranopia (Green-blind)
#2F2F35 — rgb(47, 47, 53)
Tritanopia (Blue-blind)
#303433 — rgb(48, 52, 51)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(253, 10%, 20%);
text
color: hsl(253, 10%, 20%);
border
border: 2px solid hsl(253, 10%, 20%);
gradient light
background: linear-gradient(to right, hsl(253, 10%, 40%), hsl(253, 10%, 20%));
gradient dark
background: linear-gradient(to right, hsl(253, 10%, 20%), hsl(253, 10%, 0%))
hex
background-color: #302E38;
tailwind
bg-[hsl(253,10%,20%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(253, 10%, 20%, 0.4);
css variable
--color-primary: hsl(253, 10%, 20%);
Related Colors
Use Cases for Grayish Blue
Frequently Asked Questions
What are all the color codes for HSL(253, 10%, 20%)?
HEX: #302E38 | RGB: rgb(48, 46, 56) | CMYK: 14%, 18%, 0%, 78% | HSV: 252°, 18%, 22%. Copy any format from the conversion table above.
What colors go well with #302E38?
The complementary color is HSL(73, 10%, 20%). For a triadic harmony, use hues 253°, 13°, and 133°. For analogous combinations, try hues 223° and 283°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(253, 10%, 20%) in CSS?
As HSL: color: hsl(253, 10%, 20%); — As HEX: color: #302E38; — As RGB: color: rgb(48, 46, 56); — Tailwind CSS: bg-[hsl(253,10%,20%)] — CSS variable: --color-primary: hsl(253, 10%, 20%);