HSL(252, 75%, 49%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(252,75%,49%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(252, 75%, 49%) | color: hsl(252, 75%, 49%) | |
| HEX | #451FDB | color: #451FDB | |
| RGB | rgb(69, 31, 219) | color: rgb(69, 31, 219) | |
| CMYK | cmyk(68%, 86%, 0%, 14%) | — | |
| HSV | hsv(252, 86%, 86%) | — | |
| HWB | hwb(252 12% 14%) | color: hwb(252 12% 14%) | |
| OKLCH | oklch(0.4488 0.2532 278.07) | color: oklch(0.4488 0.2532 278.07) | |
| Lab | lab(32.61 64.97 -86.81) | color: lab(32.61 64.97 -86.81) | |
| LCH | lch(32.61 108.43 306.81) | color: lch(32.61 108.43 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)
#3534AE — rgb(53, 52, 174)
Deuteranopia (Green-blind)
#373AA3 — rgb(55, 58, 163)
Tritanopia (Blue-blind)
#438A82 — rgb(67, 138, 130)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(252, 75%, 49%);
text
color: hsl(252, 75%, 49%);
border
border: 2px solid hsl(252, 75%, 49%);
gradient light
background: linear-gradient(to right, hsl(252, 75%, 69%), hsl(252, 75%, 49%));
gradient dark
background: linear-gradient(to right, hsl(252, 75%, 49%), hsl(252, 75%, 29%))
hex
background-color: #451FDB;
tailwind
bg-[hsl(252,75%,49%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(252, 75%, 49%, 0.4);
css variable
--color-primary: hsl(252, 75%, 49%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(252, 75%, 49%)?
HEX: #451FDB | RGB: rgb(69, 31, 219) | CMYK: 68%, 86%, 0%, 14% | HSV: 252°, 86%, 86%. Copy any format from the conversion table above.
What colors go well with #451FDB?
The complementary color is HSL(72, 75%, 49%). For a triadic harmony, use hues 252°, 12°, and 132°. For analogous combinations, try hues 222° and 282°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(252, 75%, 49%) in CSS?
As HSL: color: hsl(252, 75%, 49%); — As HEX: color: #451FDB; — As RGB: color: rgb(69, 31, 219); — Tailwind CSS: bg-[hsl(252,75%,49%)] — CSS variable: --color-primary: hsl(252, 75%, 49%);