HSL(247, 70%, 51%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(247,70%,51%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(247, 70%, 51%) | color: hsl(247, 70%, 51%) | |
| HEX | #3F2BDA | color: #3F2BDA | |
| RGB | rgb(63, 43, 218) | color: rgb(63, 43, 218) | |
| CMYK | cmyk(71%, 80%, 0%, 15%) | — | |
| HSV | hsv(247, 80%, 85%) | — | |
| HWB | hwb(247 17% 15%) | color: hwb(247 17% 15%) | |
| OKLCH | oklch(0.4545 0.2454 275.52) | color: oklch(0.4545 0.2454 275.52) | |
| Lab | lab(33.66 59.51 -84.5) | color: lab(33.66 59.51 -84.5) | |
| LCH | lch(33.66 103.35 305.16) | color: lch(33.66 103.35 305.16) |
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)
#3636B0 — rgb(54, 54, 176)
Deuteranopia (Green-blind)
#3839A6 — rgb(56, 57, 166)
Tritanopia (Blue-blind)
#3E8E87 — rgb(62, 142, 135)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(247, 70%, 51%);
text
color: hsl(247, 70%, 51%);
border
border: 2px solid hsl(247, 70%, 51%);
gradient light
background: linear-gradient(to right, hsl(247, 70%, 71%), hsl(247, 70%, 51%));
gradient dark
background: linear-gradient(to right, hsl(247, 70%, 51%), hsl(247, 70%, 31%))
hex
background-color: #3F2BDA;
tailwind
bg-[hsl(247,70%,51%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(247, 70%, 51%, 0.4);
css variable
--color-primary: hsl(247, 70%, 51%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(247, 70%, 51%)?
HEX: #3F2BDA | RGB: rgb(63, 43, 218) | CMYK: 71%, 80%, 0%, 15% | HSV: 247°, 80%, 85%. Copy any format from the conversion table above.
What colors go well with #3F2BDA?
The complementary color is HSL(67, 70%, 51%). 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, 70%, 51%) in CSS?
As HSL: color: hsl(247, 70%, 51%); — As HEX: color: #3F2BDA; — As RGB: color: rgb(63, 43, 218); — Tailwind CSS: bg-[hsl(247,70%,51%)] — CSS variable: --color-primary: hsl(247, 70%, 51%);