HSL(247, 35%, 34%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(247,35%,34%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(247, 35%, 34%) | color: hsl(247, 35%, 34%) | |
| HEX | #3F3875 | color: #3F3875 | |
| RGB | rgb(63, 56, 117) | color: rgb(63, 56, 117) | |
| CMYK | cmyk(46%, 52%, 0%, 54%) | — | |
| HSV | hsv(247, 52%, 46%) | — | |
| HWB | hwb(247 22% 54%) | color: hwb(247 22% 54%) | |
| OKLCH | oklch(0.3805 0.1009 285.79) | color: oklch(0.3805 0.1009 285.79) | |
| Lab | lab(27.21 20.02 -34.18) | color: lab(27.21 20.02 -34.18) | |
| LCH | lch(27.21 39.61 300.36) | color: lch(27.21 39.61 300.36) |
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)
#3C3C66 — rgb(60, 60, 102)
Deuteranopia (Green-blind)
#3C3D63 — rgb(60, 61, 99)
Tritanopia (Blue-blind)
#3F5B58 — rgb(63, 91, 88)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(247, 35%, 34%);
text
color: hsl(247, 35%, 34%);
border
border: 2px solid hsl(247, 35%, 34%);
gradient light
background: linear-gradient(to right, hsl(247, 35%, 54%), hsl(247, 35%, 34%));
gradient dark
background: linear-gradient(to right, hsl(247, 35%, 34%), hsl(247, 35%, 14%))
hex
background-color: #3F3875;
tailwind
bg-[hsl(247,35%,34%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(247, 35%, 34%, 0.4);
css variable
--color-primary: hsl(247, 35%, 34%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(247, 35%, 34%)?
HEX: #3F3875 | RGB: rgb(63, 56, 117) | CMYK: 46%, 52%, 0%, 54% | HSV: 247°, 52%, 46%. Copy any format from the conversion table above.
What colors go well with #3F3875?
The complementary color is HSL(67, 35%, 34%). 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, 35%, 34%) in CSS?
As HSL: color: hsl(247, 35%, 34%); — As HEX: color: #3F3875; — As RGB: color: rgb(63, 56, 117); — Tailwind CSS: bg-[hsl(247,35%,34%)] — CSS variable: --color-primary: hsl(247, 35%, 34%);