HSL(239, 50%, 46%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(239,50%,46%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(239, 50%, 46%) | color: hsl(239, 50%, 46%) | |
| HEX | #3B3DB0 | color: #3B3DB0 | |
| RGB | rgb(59, 61, 176) | color: rgb(59, 61, 176) | |
| CMYK | cmyk(66%, 65%, 0%, 31%) | — | |
| HSV | hsv(239, 66%, 69%) | — | |
| HWB | hwb(239 23% 31%) | color: hwb(239 23% 31%) | |
| OKLCH | oklch(0.4346 0.1782 275.31) | color: oklch(0.4346 0.1782 275.31) | |
| Lab | lab(32.7 35.98 -61.5) | color: lab(32.7 35.98 -61.5) | |
| LCH | lch(32.7 71.25 300.33) | color: lch(32.7 71.25 300.33) |
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)
#3C3C94 — rgb(60, 60, 148)
Deuteranopia (Green-blind)
#3C3C8E — rgb(60, 60, 142)
Tritanopia (Blue-blind)
#3B7E79 — rgb(59, 126, 121)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(239, 50%, 46%);
text
color: hsl(239, 50%, 46%);
border
border: 2px solid hsl(239, 50%, 46%);
gradient light
background: linear-gradient(to right, hsl(239, 50%, 66%), hsl(239, 50%, 46%));
gradient dark
background: linear-gradient(to right, hsl(239, 50%, 46%), hsl(239, 50%, 26%))
hex
background-color: #3B3DB0;
tailwind
bg-[hsl(239,50%,46%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(239, 50%, 46%, 0.4);
css variable
--color-primary: hsl(239, 50%, 46%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(239, 50%, 46%)?
HEX: #3B3DB0 | RGB: rgb(59, 61, 176) | CMYK: 66%, 65%, 0%, 31% | HSV: 239°, 66%, 69%. Copy any format from the conversion table above.
What colors go well with #3B3DB0?
The complementary color is HSL(59, 50%, 46%). For a triadic harmony, use hues 239°, 359°, and 119°. For analogous combinations, try hues 209° and 269°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(239, 50%, 46%) in CSS?
As HSL: color: hsl(239, 50%, 46%); — As HEX: color: #3B3DB0; — As RGB: color: rgb(59, 61, 176); — Tailwind CSS: bg-[hsl(239,50%,46%)] — CSS variable: --color-primary: hsl(239, 50%, 46%);