HSL(210, 32%, 21%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(210,32%,21%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(210, 32%, 21%) | color: hsl(210, 32%, 21%) | |
| HEX | #243647 | color: #243647 | |
| RGB | rgb(36, 54, 71) | color: rgb(36, 54, 71) | |
| CMYK | cmyk(49%, 24%, 0%, 72%) | — | |
| HSV | hsv(209, 49%, 28%) | — | |
| HWB | hwb(209 14% 72%) | color: hwb(209 14% 72%) | |
| OKLCH | oklch(0.3252 0.0384 247.67) | color: oklch(0.3252 0.0384 247.67) | |
| Lab | lab(21.83 -1.88 -12.79) | color: lab(21.83 -1.88 -12.79) | |
| LCH | lch(21.83 12.93 261.64) | color: lch(21.83 12.93 261.64) |
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)
#2C2C43 — rgb(44, 44, 67)
Deuteranopia (Green-blind)
#2B2942 — rgb(43, 41, 66)
Tritanopia (Blue-blind)
#25403F — rgb(37, 64, 63)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(210, 32%, 21%);
text
color: hsl(210, 32%, 21%);
border
border: 2px solid hsl(210, 32%, 21%);
gradient light
background: linear-gradient(to right, hsl(210, 32%, 41%), hsl(210, 32%, 21%));
gradient dark
background: linear-gradient(to right, hsl(210, 32%, 21%), hsl(210, 32%, 1%))
hex
background-color: #243647;
tailwind
bg-[hsl(210,32%,21%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(210, 32%, 21%, 0.4);
css variable
--color-primary: hsl(210, 32%, 21%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(210, 32%, 21%)?
HEX: #243647 | RGB: rgb(36, 54, 71) | CMYK: 49%, 24%, 0%, 72% | HSV: 209°, 49%, 28%. Copy any format from the conversion table above.
What colors go well with #243647?
The complementary color is HSL(30, 32%, 21%). For a triadic harmony, use hues 210°, 330°, and 90°. For analogous combinations, try hues 180° and 240°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(210, 32%, 21%) in CSS?
As HSL: color: hsl(210, 32%, 21%); — As HEX: color: #243647; — As RGB: color: rgb(36, 54, 71); — Tailwind CSS: bg-[hsl(210,32%,21%)] — CSS variable: --color-primary: hsl(210, 32%, 21%);