HSL(253, 49%, 34%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(253,49%,34%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(253, 49%, 34%) | color: hsl(253, 49%, 34%) | |
| HEX | #3F2C81 | color: #3F2C81 | |
| RGB | rgb(63, 44, 129) | color: rgb(63, 44, 129) | |
| CMYK | cmyk(51%, 66%, 0%, 49%) | — | |
| HSV | hsv(253, 66%, 51%) | — | |
| HWB | hwb(253 17% 49%) | color: hwb(253 17% 49%) | |
| OKLCH | oklch(0.3677 0.1362 288.07) | color: oklch(0.3677 0.1362 288.07) | |
| Lab | lab(25.08 31.61 -45.19) | color: lab(25.08 31.61 -45.19) | |
| LCH | lch(25.08 55.15 304.97) | color: lch(25.08 55.15 304.97) |
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)
#37376C — rgb(55, 55, 108)
Deuteranopia (Green-blind)
#383968 — rgb(56, 57, 104)
Tritanopia (Blue-blind)
#3E5C59 — rgb(62, 92, 89)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(253, 49%, 34%);
text
color: hsl(253, 49%, 34%);
border
border: 2px solid hsl(253, 49%, 34%);
gradient light
background: linear-gradient(to right, hsl(253, 49%, 54%), hsl(253, 49%, 34%));
gradient dark
background: linear-gradient(to right, hsl(253, 49%, 34%), hsl(253, 49%, 14%))
hex
background-color: #3F2C81;
tailwind
bg-[hsl(253,49%,34%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(253, 49%, 34%, 0.4);
css variable
--color-primary: hsl(253, 49%, 34%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(253, 49%, 34%)?
HEX: #3F2C81 | RGB: rgb(63, 44, 129) | CMYK: 51%, 66%, 0%, 49% | HSV: 253°, 66%, 51%. Copy any format from the conversion table above.
What colors go well with #3F2C81?
The complementary color is HSL(73, 49%, 34%). For a triadic harmony, use hues 253°, 13°, and 133°. For analogous combinations, try hues 223° and 283°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(253, 49%, 34%) in CSS?
As HSL: color: hsl(253, 49%, 34%); — As HEX: color: #3F2C81; — As RGB: color: rgb(63, 44, 129); — Tailwind CSS: bg-[hsl(253,49%,34%)] — CSS variable: --color-primary: hsl(253, 49%, 34%);