HSL(245, 60%, 49%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(245,60%,49%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(245, 60%, 49%) | color: hsl(245, 60%, 49%) | |
| HEX | #3E32C8 | color: #3E32C8 | |
| RGB | rgb(62, 50, 200) | color: rgb(62, 50, 200) | |
| CMYK | cmyk(69%, 75%, 0%, 22%) | — | |
| HSV | hsv(245, 75%, 78%) | — | |
| HWB | hwb(245 20% 22%) | color: hwb(245 20% 22%) | |
| OKLCH | oklch(0.4432 0.2192 276.18) | color: oklch(0.4432 0.2192 276.18) | |
| Lab | lab(32.86 50.58 -75.38) | color: lab(32.86 50.58 -75.38) | |
| LCH | lch(32.86 90.78 303.86) | color: lch(32.86 90.78 303.86) |
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)
#3939A4 — rgb(57, 57, 164)
Deuteranopia (Green-blind)
#3A3A9B — rgb(58, 58, 155)
Tritanopia (Blue-blind)
#3D8781 — rgb(61, 135, 129)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(245, 60%, 49%);
text
color: hsl(245, 60%, 49%);
border
border: 2px solid hsl(245, 60%, 49%);
gradient light
background: linear-gradient(to right, hsl(245, 60%, 69%), hsl(245, 60%, 49%));
gradient dark
background: linear-gradient(to right, hsl(245, 60%, 49%), hsl(245, 60%, 29%))
hex
background-color: #3E32C8;
tailwind
bg-[hsl(245,60%,49%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(245, 60%, 49%, 0.4);
css variable
--color-primary: hsl(245, 60%, 49%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(245, 60%, 49%)?
HEX: #3E32C8 | RGB: rgb(62, 50, 200) | CMYK: 69%, 75%, 0%, 22% | HSV: 245°, 75%, 78%. Copy any format from the conversion table above.
What colors go well with #3E32C8?
The complementary color is HSL(65, 60%, 49%). For a triadic harmony, use hues 245°, 5°, and 125°. For analogous combinations, try hues 215° and 275°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(245, 60%, 49%) in CSS?
As HSL: color: hsl(245, 60%, 49%); — As HEX: color: #3E32C8; — As RGB: color: rgb(62, 50, 200); — Tailwind CSS: bg-[hsl(245,60%,49%)] — CSS variable: --color-primary: hsl(245, 60%, 49%);