HSL(204, 32%, 15%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
7000K
CSS Class
bg-[hsl(204,32%,15%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(204, 32%, 15%) | color: hsl(204, 32%, 15%) | |
| HEX | #1A2932 | color: #1A2932 | |
| RGB | rgb(26, 41, 50) | color: rgb(26, 41, 50) | |
| CMYK | cmyk(48%, 18%, 0%, 80%) | — | |
| HSV | hsv(203, 48%, 20%) | — | |
| HWB | hwb(203 10% 80%) | color: hwb(203 10% 80%) | |
| OKLCH | oklch(0.2716 0.0263 235.38) | color: oklch(0.2716 0.0263 235.38) | |
| Lab | lab(15.67 -3.38 -7.84) | color: lab(15.67 -3.38 -7.84) | |
| LCH | lch(15.67 8.54 246.68) | color: lch(15.67 8.54 246.68) |
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)
#202130 — rgb(32, 33, 48)
Deuteranopia (Green-blind)
#201F2F — rgb(32, 31, 47)
Tritanopia (Blue-blind)
#1B2E2E — rgb(27, 46, 46)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(204, 32%, 15%);
text
color: hsl(204, 32%, 15%);
border
border: 2px solid hsl(204, 32%, 15%);
gradient light
background: linear-gradient(to right, hsl(204, 32%, 35%), hsl(204, 32%, 15%));
gradient dark
background: linear-gradient(to right, hsl(204, 32%, 15%), hsl(204, 32%, 0%))
hex
background-color: #1A2932;
tailwind
bg-[hsl(204,32%,15%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(204, 32%, 15%, 0.4);
css variable
--color-primary: hsl(204, 32%, 15%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(204, 32%, 15%)?
HEX: #1A2932 | RGB: rgb(26, 41, 50) | CMYK: 48%, 18%, 0%, 80% | HSV: 203°, 48%, 20%. Copy any format from the conversion table above.
What colors go well with #1A2932?
The complementary color is HSL(24, 32%, 15%). For a triadic harmony, use hues 204°, 324°, and 84°. For analogous combinations, try hues 174° and 234°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(204, 32%, 15%) in CSS?
As HSL: color: hsl(204, 32%, 15%); — As HEX: color: #1A2932; — As RGB: color: rgb(26, 41, 50); — Tailwind CSS: bg-[hsl(204,32%,15%)] — CSS variable: --color-primary: hsl(204, 32%, 15%);