HSL(253, 73%, 40%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(253,73%,40%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(253, 73%, 40%) | color: hsl(253, 73%, 40%) | |
| HEX | #3C1CB0 | color: #3C1CB0 | |
| RGB | rgb(60, 28, 176) | color: rgb(60, 28, 176) | |
| CMYK | cmyk(66%, 84%, 0%, 31%) | — | |
| HSV | hsv(253, 84%, 69%) | — | |
| HWB | hwb(253 11% 31%) | color: hwb(253 11% 31%) | |
| OKLCH | oklch(0.391 0.2103 280.37) | color: oklch(0.391 0.2103 280.37) | |
| Lab | lab(26.52 53.65 -71.68) | color: lab(26.52 53.65 -71.68) | |
| LCH | lch(26.52 89.53 306.81) | color: lch(26.52 89.53 306.81) |
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)
#2E2E8C — rgb(46, 46, 140)
Deuteranopia (Green-blind)
#303284 — rgb(48, 50, 132)
Tritanopia (Blue-blind)
#3A706A — rgb(58, 112, 106)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(253, 73%, 40%);
text
color: hsl(253, 73%, 40%);
border
border: 2px solid hsl(253, 73%, 40%);
gradient light
background: linear-gradient(to right, hsl(253, 73%, 60%), hsl(253, 73%, 40%));
gradient dark
background: linear-gradient(to right, hsl(253, 73%, 40%), hsl(253, 73%, 20%))
hex
background-color: #3C1CB0;
tailwind
bg-[hsl(253,73%,40%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(253, 73%, 40%, 0.4);
css variable
--color-primary: hsl(253, 73%, 40%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(253, 73%, 40%)?
HEX: #3C1CB0 | RGB: rgb(60, 28, 176) | CMYK: 66%, 84%, 0%, 31% | HSV: 253°, 84%, 69%. Copy any format from the conversion table above.
What colors go well with #3C1CB0?
The complementary color is HSL(73, 73%, 40%). 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, 73%, 40%) in CSS?
As HSL: color: hsl(253, 73%, 40%); — As HEX: color: #3C1CB0; — As RGB: color: rgb(60, 28, 176); — Tailwind CSS: bg-[hsl(253,73%,40%)] — CSS variable: --color-primary: hsl(253, 73%, 40%);