HSL(212, 30%, 32%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(212,30%,32%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(212, 30%, 32%) | color: hsl(212, 30%, 32%) | |
| HEX | #39506A | color: #39506A | |
| RGB | rgb(57, 80, 106) | color: rgb(57, 80, 106) | |
| CMYK | cmyk(46%, 25%, 0%, 58%) | — | |
| HSV | hsv(212, 46%, 42%) | — | |
| HWB | hwb(212 23% 58%) | color: hwb(212 23% 58%) | |
| OKLCH | oklch(0.4238 0.052 252.07) | color: oklch(0.4238 0.052 252.07) | |
| Lab | lab(33.24 -1.09 -17.78) | color: lab(33.24 -1.09 -17.78) | |
| LCH | lch(33.24 17.81 266.49) | color: lch(33.24 17.81 266.49) |
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)
#434364 — rgb(67, 67, 100)
Deuteranopia (Green-blind)
#424062 — rgb(66, 64, 98)
Tritanopia (Blue-blind)
#3A5F5E — rgb(58, 95, 94)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(212, 30%, 32%);
text
color: hsl(212, 30%, 32%);
border
border: 2px solid hsl(212, 30%, 32%);
gradient light
background: linear-gradient(to right, hsl(212, 30%, 52%), hsl(212, 30%, 32%));
gradient dark
background: linear-gradient(to right, hsl(212, 30%, 32%), hsl(212, 30%, 12%))
hex
background-color: #39506A;
tailwind
bg-[hsl(212,30%,32%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(212, 30%, 32%, 0.4);
css variable
--color-primary: hsl(212, 30%, 32%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(212, 30%, 32%)?
HEX: #39506A | RGB: rgb(57, 80, 106) | CMYK: 46%, 25%, 0%, 58% | HSV: 212°, 46%, 42%. Copy any format from the conversion table above.
What colors go well with #39506A?
The complementary color is HSL(32, 30%, 32%). For a triadic harmony, use hues 212°, 332°, and 92°. For analogous combinations, try hues 182° and 242°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(212, 30%, 32%) in CSS?
As HSL: color: hsl(212, 30%, 32%); — As HEX: color: #39506A; — As RGB: color: rgb(57, 80, 106); — Tailwind CSS: bg-[hsl(212,30%,32%)] — CSS variable: --color-primary: hsl(212, 30%, 32%);