HSL(247, 75%, 47%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(247,75%,47%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(247, 75%, 47%) | color: hsl(247, 75%, 47%) | |
| HEX | #331ED2 | color: #331ED2 | |
| RGB | rgb(51, 30, 210) | color: rgb(51, 30, 210) | |
| CMYK | cmyk(76%, 86%, 0%, 18%) | — | |
| HSV | hsv(247, 86%, 82%) | — | |
| HWB | hwb(247 11% 18%) | color: hwb(247 11% 18%) | |
| OKLCH | oklch(0.4254 0.2484 273.21) | color: oklch(0.4254 0.2484 273.21) | |
| Lab | lab(30.12 61.82 -85.78) | color: lab(30.12 61.82 -85.78) | |
| LCH | lch(30.12 105.74 305.78) | color: lch(30.12 105.74 305.78) |
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)
#2A2AA6 — rgb(42, 42, 166)
Deuteranopia (Green-blind)
#2B2D9C — rgb(43, 45, 156)
Tritanopia (Blue-blind)
#32847D — rgb(50, 132, 125)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(247, 75%, 47%);
text
color: hsl(247, 75%, 47%);
border
border: 2px solid hsl(247, 75%, 47%);
gradient light
background: linear-gradient(to right, hsl(247, 75%, 67%), hsl(247, 75%, 47%));
gradient dark
background: linear-gradient(to right, hsl(247, 75%, 47%), hsl(247, 75%, 27%))
hex
background-color: #331ED2;
tailwind
bg-[hsl(247,75%,47%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(247, 75%, 47%, 0.4);
css variable
--color-primary: hsl(247, 75%, 47%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(247, 75%, 47%)?
HEX: #331ED2 | RGB: rgb(51, 30, 210) | CMYK: 76%, 86%, 0%, 18% | HSV: 247°, 86%, 82%. Copy any format from the conversion table above.
What colors go well with #331ED2?
The complementary color is HSL(67, 75%, 47%). 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, 75%, 47%) in CSS?
As HSL: color: hsl(247, 75%, 47%); — As HEX: color: #331ED2; — As RGB: color: rgb(51, 30, 210); — Tailwind CSS: bg-[hsl(247,75%,47%)] — CSS variable: --color-primary: hsl(247, 75%, 47%);