HSL(247, 37%, 32%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(247,37%,32%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(247, 37%, 32%) | color: hsl(247, 37%, 32%) | |
| HEX | #3A3370 | color: #3A3370 | |
| RGB | rgb(58, 51, 112) | color: rgb(58, 51, 112) | |
| CMYK | cmyk(48%, 54%, 0%, 56%) | — | |
| HSV | hsv(247, 54%, 44%) | — | |
| HWB | hwb(247 20% 56%) | color: hwb(247 20% 56%) | |
| OKLCH | oklch(0.3623 0.1017 285.36) | color: oklch(0.3623 0.1017 285.36) | |
| Lab | lab(25.07 20.43 -34.46) | color: lab(25.07 20.43 -34.46) | |
| LCH | lch(25.07 40.06 300.66) | color: lch(25.07 40.06 300.66) |
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)
#373761 — rgb(55, 55, 97)
Deuteranopia (Green-blind)
#37385E — rgb(55, 56, 94)
Tritanopia (Blue-blind)
#3A5653 — rgb(58, 86, 83)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(247, 37%, 32%);
text
color: hsl(247, 37%, 32%);
border
border: 2px solid hsl(247, 37%, 32%);
gradient light
background: linear-gradient(to right, hsl(247, 37%, 52%), hsl(247, 37%, 32%));
gradient dark
background: linear-gradient(to right, hsl(247, 37%, 32%), hsl(247, 37%, 12%))
hex
background-color: #3A3370;
tailwind
bg-[hsl(247,37%,32%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(247, 37%, 32%, 0.4);
css variable
--color-primary: hsl(247, 37%, 32%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(247, 37%, 32%)?
HEX: #3A3370 | RGB: rgb(58, 51, 112) | CMYK: 48%, 54%, 0%, 56% | HSV: 247°, 54%, 44%. Copy any format from the conversion table above.
What colors go well with #3A3370?
The complementary color is HSL(67, 37%, 32%). For a triadic harmony, use hues 247°, 7°, and 127°. For analogous combinations, try hues 217° and 277°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(247, 37%, 32%) in CSS?
As HSL: color: hsl(247, 37%, 32%); — As HEX: color: #3A3370; — As RGB: color: rgb(58, 51, 112); — Tailwind CSS: bg-[hsl(247,37%,32%)] — CSS variable: --color-primary: hsl(247, 37%, 32%);