HSL(213, 10%, 17%)
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(213,10%,17%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(213, 10%, 17%) | color: hsl(213, 10%, 17%) | |
| HEX | #272B30 | color: #272B30 | |
| RGB | rgb(39, 43, 48) | color: rgb(39, 43, 48) | |
| CMYK | cmyk(19%, 10%, 0%, 81%) | — | |
| HSV | hsv(213, 19%, 19%) | — | |
| HWB | hwb(213 15% 81%) | color: hwb(213 15% 81%) | |
| OKLCH | oklch(0.2871 0.0108 254.01) | color: oklch(0.2871 0.0108 254.01) | |
| Lab | lab(17.33 -0.45 -3.84) | color: lab(17.33 -0.45 -3.84) | |
| LCH | lch(17.33 3.87 263.32) | color: lch(17.33 3.87 263.32) |
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)
#29292F — rgb(41, 41, 47)
Deuteranopia (Green-blind)
#29282F — rgb(41, 40, 47)
Tritanopia (Blue-blind)
#272E2E — rgb(39, 46, 46)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(213, 10%, 17%);
text
color: hsl(213, 10%, 17%);
border
border: 2px solid hsl(213, 10%, 17%);
gradient light
background: linear-gradient(to right, hsl(213, 10%, 37%), hsl(213, 10%, 17%));
gradient dark
background: linear-gradient(to right, hsl(213, 10%, 17%), hsl(213, 10%, 0%))
hex
background-color: #272B30;
tailwind
bg-[hsl(213,10%,17%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(213, 10%, 17%, 0.4);
css variable
--color-primary: hsl(213, 10%, 17%);
Related Colors
Use Cases for Grayish Blue
Frequently Asked Questions
What are all the color codes for HSL(213, 10%, 17%)?
HEX: #272B30 | RGB: rgb(39, 43, 48) | CMYK: 19%, 10%, 0%, 81% | HSV: 213°, 19%, 19%. Copy any format from the conversion table above.
What colors go well with #272B30?
The complementary color is HSL(33, 10%, 17%). For a triadic harmony, use hues 213°, 333°, and 93°. For analogous combinations, try hues 183° and 243°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(213, 10%, 17%) in CSS?
As HSL: color: hsl(213, 10%, 17%); — As HEX: color: #272B30; — As RGB: color: rgb(39, 43, 48); — Tailwind CSS: bg-[hsl(213,10%,17%)] — CSS variable: --color-primary: hsl(213, 10%, 17%);