HSL(200, 37%, 18%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
7000K
CSS Class
bg-[hsl(200,37%,18%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(200, 37%, 18%) | color: hsl(200, 37%, 18%) | |
| HEX | #1D343F | color: #1D343F | |
| RGB | rgb(29, 52, 63) | color: rgb(29, 52, 63) | |
| CMYK | cmyk(54%, 17%, 0%, 75%) | — | |
| HSV | hsv(199, 54%, 25%) | — | |
| HWB | hwb(199 12% 75%) | color: hwb(199 12% 75%) | |
| OKLCH | oklch(0.3111 0.035 230.03) | color: oklch(0.3111 0.035 230.03) | |
| Lab | lab(20.35 -5.4 -9.7) | color: lab(20.35 -5.4 -9.7) | |
| LCH | lch(20.35 11.1 240.9) | color: lch(20.35 11.1 240.9) |
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)
#27273C — rgb(39, 39, 60)
Deuteranopia (Green-blind)
#26243C — rgb(38, 36, 60)
Tritanopia (Blue-blind)
#1E3A3A — rgb(30, 58, 58)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(200, 37%, 18%);
text
color: hsl(200, 37%, 18%);
border
border: 2px solid hsl(200, 37%, 18%);
gradient light
background: linear-gradient(to right, hsl(200, 37%, 38%), hsl(200, 37%, 18%));
gradient dark
background: linear-gradient(to right, hsl(200, 37%, 18%), hsl(200, 37%, 0%))
hex
background-color: #1D343F;
tailwind
bg-[hsl(200,37%,18%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(200, 37%, 18%, 0.4);
css variable
--color-primary: hsl(200, 37%, 18%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(200, 37%, 18%)?
HEX: #1D343F | RGB: rgb(29, 52, 63) | CMYK: 54%, 17%, 0%, 75% | HSV: 199°, 54%, 25%. Copy any format from the conversion table above.
What colors go well with #1D343F?
The complementary color is HSL(20, 37%, 18%). 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, 37%, 18%) in CSS?
As HSL: color: hsl(200, 37%, 18%); — As HEX: color: #1D343F; — As RGB: color: rgb(29, 52, 63); — Tailwind CSS: bg-[hsl(200,37%,18%)] — CSS variable: --color-primary: hsl(200, 37%, 18%);