HSL(197, 36%, 15%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
7000K
CSS Class
bg-[hsl(197,36%,15%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(197, 36%, 15%) | color: hsl(197, 36%, 15%) | |
| HEX | #182C34 | color: #182C34 | |
| RGB | rgb(24, 44, 52) | color: rgb(24, 44, 52) | |
| CMYK | cmyk(54%, 15%, 0%, 80%) | — | |
| HSV | hsv(197, 54%, 20%) | — | |
| HWB | hwb(197 9% 80%) | color: hwb(197 9% 80%) | |
| OKLCH | oklch(0.2799 0.0297 225.45) | color: oklch(0.2799 0.0297 225.45) | |
| Lab | lab(16.72 -5.39 -7.67) | color: lab(16.72 -5.39 -7.67) | |
| LCH | lch(16.72 9.37 234.9) | color: lch(16.72 9.37 234.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)
#212132 — rgb(33, 33, 50)
Deuteranopia (Green-blind)
#201E32 — rgb(32, 30, 50)
Tritanopia (Blue-blind)
#193130 — rgb(25, 49, 48)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(197, 36%, 15%);
text
color: hsl(197, 36%, 15%);
border
border: 2px solid hsl(197, 36%, 15%);
gradient light
background: linear-gradient(to right, hsl(197, 36%, 35%), hsl(197, 36%, 15%));
gradient dark
background: linear-gradient(to right, hsl(197, 36%, 15%), hsl(197, 36%, 0%))
hex
background-color: #182C34;
tailwind
bg-[hsl(197,36%,15%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(197, 36%, 15%, 0.4);
css variable
--color-primary: hsl(197, 36%, 15%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(197, 36%, 15%)?
HEX: #182C34 | RGB: rgb(24, 44, 52) | CMYK: 54%, 15%, 0%, 80% | HSV: 197°, 54%, 20%. Copy any format from the conversion table above.
What colors go well with #182C34?
The complementary color is HSL(17, 36%, 15%). For a triadic harmony, use hues 197°, 317°, and 77°. For analogous combinations, try hues 167° and 227°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(197, 36%, 15%) in CSS?
As HSL: color: hsl(197, 36%, 15%); — As HEX: color: #182C34; — As RGB: color: rgb(24, 44, 52); — Tailwind CSS: bg-[hsl(197,36%,15%)] — CSS variable: --color-primary: hsl(197, 36%, 15%);