HSL(200, 17%, 38%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
N/A
CSS Class
bg-[hsl(200,17%,38%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(200, 17%, 38%) | color: hsl(200, 17%, 38%) | |
| HEX | #506671 | color: #506671 | |
| RGB | rgb(80, 102, 113) | color: rgb(80, 102, 113) | |
| CMYK | cmyk(29%, 10%, 0%, 56%) | — | |
| HSV | hsv(200, 29%, 44%) | — | |
| HWB | hwb(200 31% 56%) | color: hwb(200 31% 56%) | |
| OKLCH | oklch(0.4965 0.0317 229.8) | color: oklch(0.4965 0.0317 229.8) | |
| Lab | lab(41.84 -5.38 -8.87) | color: lab(41.84 -5.38 -8.87) | |
| LCH | lch(41.84 10.37 238.76) | color: lch(41.84 10.37 238.76) |
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)
#5A5A6E — rgb(90, 90, 110)
Deuteranopia (Green-blind)
#58576E — rgb(88, 87, 110)
Tritanopia (Blue-blind)
#516C6C — rgb(81, 108, 108)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(200, 17%, 38%);
text
color: hsl(200, 17%, 38%);
border
border: 2px solid hsl(200, 17%, 38%);
gradient light
background: linear-gradient(to right, hsl(200, 17%, 58%), hsl(200, 17%, 38%));
gradient dark
background: linear-gradient(to right, hsl(200, 17%, 38%), hsl(200, 17%, 18%))
hex
background-color: #506671;
tailwind
bg-[hsl(200,17%,38%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(200, 17%, 38%, 0.4);
css variable
--color-primary: hsl(200, 17%, 38%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(200, 17%, 38%)?
HEX: #506671 | RGB: rgb(80, 102, 113) | CMYK: 29%, 10%, 0%, 56% | HSV: 200°, 29%, 44%. Copy any format from the conversion table above.
What colors go well with #506671?
The complementary color is HSL(20, 17%, 38%). For a triadic harmony, use hues 200°, 320°, and 80°. For analogous combinations, try hues 170° and 230°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(200, 17%, 38%) in CSS?
As HSL: color: hsl(200, 17%, 38%); — As HEX: color: #506671; — As RGB: color: rgb(80, 102, 113); — Tailwind CSS: bg-[hsl(200,17%,38%)] — CSS variable: --color-primary: hsl(200, 17%, 38%);