HSL(251, 79%, 55%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(251,79%,55%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(251, 79%, 55%) | color: hsl(251, 79%, 55%) | |
| HEX | #5332E7 | color: #5332E7 | |
| RGB | rgb(83, 50, 231) | color: rgb(83, 50, 231) | |
| CMYK | cmyk(64%, 78%, 0%, 9%) | — | |
| HSV | hsv(251, 78%, 91%) | — | |
| HWB | hwb(251 20% 9%) | color: hwb(251 20% 9%) | |
| OKLCH | oklch(0.4901 0.2502 280.18) | color: oklch(0.4901 0.2502 280.18) | |
| Lab | lab(37.64 61.79 -85.3) | color: lab(37.64 61.79 -85.3) | |
| LCH | lch(37.64 105.33 305.92) | color: lch(37.64 105.33 305.92) |
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)
#4544BB — rgb(69, 68, 187)
Deuteranopia (Green-blind)
#4749B1 — rgb(71, 73, 177)
Tritanopia (Blue-blind)
#519991 — rgb(81, 153, 145)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(251, 79%, 55%);
text
color: hsl(251, 79%, 55%);
border
border: 2px solid hsl(251, 79%, 55%);
gradient light
background: linear-gradient(to right, hsl(251, 79%, 75%), hsl(251, 79%, 55%));
gradient dark
background: linear-gradient(to right, hsl(251, 79%, 55%), hsl(251, 79%, 35%))
hex
background-color: #5332E7;
tailwind
bg-[hsl(251,79%,55%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(251, 79%, 55%, 0.4);
css variable
--color-primary: hsl(251, 79%, 55%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(251, 79%, 55%)?
HEX: #5332E7 | RGB: rgb(83, 50, 231) | CMYK: 64%, 78%, 0%, 9% | HSV: 251°, 78%, 91%. Copy any format from the conversion table above.
What colors go well with #5332E7?
The complementary color is HSL(71, 79%, 55%). For a triadic harmony, use hues 251°, 11°, and 131°. For analogous combinations, try hues 221° and 281°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(251, 79%, 55%) in CSS?
As HSL: color: hsl(251, 79%, 55%); — As HEX: color: #5332E7; — As RGB: color: rgb(83, 50, 231); — Tailwind CSS: bg-[hsl(251,79%,55%)] — CSS variable: --color-primary: hsl(251, 79%, 55%);