HSL(247, 30%, 30%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(247,30%,30%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(247, 30%, 30%) | color: hsl(247, 30%, 30%) | |
| HEX | #3B3663 | color: #3B3663 | |
| RGB | rgb(59, 54, 99) | color: rgb(59, 54, 99) | |
| CMYK | cmyk(40%, 45%, 0%, 61%) | — | |
| HSV | hsv(247, 45%, 39%) | — | |
| HWB | hwb(247 21% 61%) | color: hwb(247 21% 61%) | |
| OKLCH | oklch(0.3606 0.0763 287.01) | color: oklch(0.3606 0.0763 287.01) | |
| Lab | lab(25.16 14.48 -25.92) | color: lab(25.16 14.48 -25.92) | |
| LCH | lch(25.16 29.69 299.19) | color: lch(25.16 29.69 299.19) |
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)
#393958 — rgb(57, 57, 88)
Deuteranopia (Green-blind)
#393A56 — rgb(57, 58, 86)
Tritanopia (Blue-blind)
#3B504E — rgb(59, 80, 78)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(247, 30%, 30%);
text
color: hsl(247, 30%, 30%);
border
border: 2px solid hsl(247, 30%, 30%);
gradient light
background: linear-gradient(to right, hsl(247, 30%, 50%), hsl(247, 30%, 30%));
gradient dark
background: linear-gradient(to right, hsl(247, 30%, 30%), hsl(247, 30%, 10%))
hex
background-color: #3B3663;
tailwind
bg-[hsl(247,30%,30%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(247, 30%, 30%, 0.4);
css variable
--color-primary: hsl(247, 30%, 30%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(247, 30%, 30%)?
HEX: #3B3663 | RGB: rgb(59, 54, 99) | CMYK: 40%, 45%, 0%, 61% | HSV: 247°, 45%, 39%. Copy any format from the conversion table above.
What colors go well with #3B3663?
The complementary color is HSL(67, 30%, 30%). 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, 30%, 30%) in CSS?
As HSL: color: hsl(247, 30%, 30%); — As HEX: color: #3B3663; — As RGB: color: rgb(59, 54, 99); — Tailwind CSS: bg-[hsl(247,30%,30%)] — CSS variable: --color-primary: hsl(247, 30%, 30%);