HSL(252, 75%, 58%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(252,75%,58%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(252, 75%, 58%) | color: hsl(252, 75%, 58%) | |
| HEX | #6444E4 | color: #6444E4 | |
| RGB | rgb(100, 68, 228) | color: rgb(100, 68, 228) | |
| CMYK | cmyk(56%, 70%, 0%, 11%) | — | |
| HSV | hsv(252, 70%, 89%) | — | |
| HWB | hwb(252 27% 11%) | color: hwb(252 27% 11%) | |
| OKLCH | oklch(0.5229 0.2275 284.49) | color: oklch(0.5229 0.2275 284.49) | |
| Lab | lab(41.91 54.18 -76.51) | color: lab(41.91 54.18 -76.51) | |
| LCH | lch(41.91 93.75 305.3) | color: lch(41.91 93.75 305.3) |
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)
#5656BD — rgb(86, 86, 189)
Deuteranopia (Green-blind)
#585AB4 — rgb(88, 90, 180)
Tritanopia (Blue-blind)
#629F98 — rgb(98, 159, 152)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(252, 75%, 58%);
text
color: hsl(252, 75%, 58%);
border
border: 2px solid hsl(252, 75%, 58%);
gradient light
background: linear-gradient(to right, hsl(252, 75%, 78%), hsl(252, 75%, 58%));
gradient dark
background: linear-gradient(to right, hsl(252, 75%, 58%), hsl(252, 75%, 38%))
hex
background-color: #6444E4;
tailwind
bg-[hsl(252,75%,58%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(252, 75%, 58%, 0.4);
css variable
--color-primary: hsl(252, 75%, 58%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(252, 75%, 58%)?
HEX: #6444E4 | RGB: rgb(100, 68, 228) | CMYK: 56%, 70%, 0%, 11% | HSV: 252°, 70%, 89%. Copy any format from the conversion table above.
What colors go well with #6444E4?
The complementary color is HSL(72, 75%, 58%). 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%, 58%) in CSS?
As HSL: color: hsl(252, 75%, 58%); — As HEX: color: #6444E4; — As RGB: color: rgb(100, 68, 228); — Tailwind CSS: bg-[hsl(252,75%,58%)] — CSS variable: --color-primary: hsl(252, 75%, 58%);