HSL(247, 31%, 39%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(247,31%,39%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(247, 31%, 39%) | color: hsl(247, 31%, 39%) | |
| HEX | #4C4582 | color: #4C4582 | |
| RGB | rgb(76, 69, 130) | color: rgb(76, 69, 130) | |
| CMYK | cmyk(42%, 47%, 0%, 49%) | — | |
| HSV | hsv(247, 47%, 51%) | — | |
| HWB | hwb(247 27% 49%) | color: hwb(247 27% 49%) | |
| OKLCH | oklch(0.4275 0.0988 286.69) | color: oklch(0.4275 0.0988 286.69) | |
| Lab | lab(32.71 19.09 -33.49) | color: lab(32.71 19.09 -33.49) | |
| LCH | lch(32.71 38.55 299.68) | color: lch(32.71 38.55 299.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)
#494973 — rgb(73, 73, 115)
Deuteranopia (Green-blind)
#494A70 — rgb(73, 74, 112)
Tritanopia (Blue-blind)
#4C6865 — rgb(76, 104, 101)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(247, 31%, 39%);
text
color: hsl(247, 31%, 39%);
border
border: 2px solid hsl(247, 31%, 39%);
gradient light
background: linear-gradient(to right, hsl(247, 31%, 59%), hsl(247, 31%, 39%));
gradient dark
background: linear-gradient(to right, hsl(247, 31%, 39%), hsl(247, 31%, 19%))
hex
background-color: #4C4582;
tailwind
bg-[hsl(247,31%,39%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(247, 31%, 39%, 0.4);
css variable
--color-primary: hsl(247, 31%, 39%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(247, 31%, 39%)?
HEX: #4C4582 | RGB: rgb(76, 69, 130) | CMYK: 42%, 47%, 0%, 49% | HSV: 247°, 47%, 51%. Copy any format from the conversion table above.
What colors go well with #4C4582?
The complementary color is HSL(67, 31%, 39%). 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, 31%, 39%) in CSS?
As HSL: color: hsl(247, 31%, 39%); — As HEX: color: #4C4582; — As RGB: color: rgb(76, 69, 130); — Tailwind CSS: bg-[hsl(247,31%,39%)] — CSS variable: --color-primary: hsl(247, 31%, 39%);