HSL(247, 23%, 36%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(247,23%,36%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(247, 23%, 36%) | color: hsl(247, 23%, 36%) | |
| HEX | #4C4771 | color: #4C4771 | |
| RGB | rgb(76, 71, 113) | color: rgb(76, 71, 113) | |
| CMYK | cmyk(33%, 37%, 0%, 56%) | — | |
| HSV | hsv(247, 37%, 44%) | — | |
| HWB | hwb(247 28% 56%) | color: hwb(247 28% 56%) | |
| OKLCH | oklch(0.4216 0.069 288.53) | color: oklch(0.4216 0.069 288.53) | |
| Lab | lab(32.34 12.71 -23.47) | color: lab(32.34 12.71 -23.47) | |
| LCH | lch(32.34 26.69 298.44) | color: lch(32.34 26.69 298.44) |
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)
#4A4A67 — rgb(74, 74, 103)
Deuteranopia (Green-blind)
#4A4B64 — rgb(74, 75, 100)
Tritanopia (Blue-blind)
#4C5F5D — rgb(76, 95, 93)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(247, 23%, 36%);
text
color: hsl(247, 23%, 36%);
border
border: 2px solid hsl(247, 23%, 36%);
gradient light
background: linear-gradient(to right, hsl(247, 23%, 56%), hsl(247, 23%, 36%));
gradient dark
background: linear-gradient(to right, hsl(247, 23%, 36%), hsl(247, 23%, 16%))
hex
background-color: #4C4771;
tailwind
bg-[hsl(247,23%,36%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(247, 23%, 36%, 0.4);
css variable
--color-primary: hsl(247, 23%, 36%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(247, 23%, 36%)?
HEX: #4C4771 | RGB: rgb(76, 71, 113) | CMYK: 33%, 37%, 0%, 56% | HSV: 247°, 37%, 44%. Copy any format from the conversion table above.
What colors go well with #4C4771?
The complementary color is HSL(67, 23%, 36%). 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, 23%, 36%) in CSS?
As HSL: color: hsl(247, 23%, 36%); — As HEX: color: #4C4771; — As RGB: color: rgb(76, 71, 113); — Tailwind CSS: bg-[hsl(247,23%,36%)] — CSS variable: --color-primary: hsl(247, 23%, 36%);