HSL(251, 78%, 55%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(251,78%,55%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(251, 78%, 55%) | color: hsl(251, 78%, 55%) | |
| HEX | #5433E6 | color: #5433E6 | |
| RGB | rgb(84, 51, 230) | color: rgb(84, 51, 230) | |
| CMYK | cmyk(63%, 78%, 0%, 10%) | — | |
| HSV | hsv(251, 78%, 90%) | — | |
| HWB | hwb(251 20% 10%) | color: hwb(251 20% 10%) | |
| OKLCH | oklch(0.4909 0.2481 280.54) | color: oklch(0.4909 0.2481 280.54) | |
| Lab | lab(37.78 61.16 -84.51) | color: lab(37.78 61.16 -84.51) | |
| LCH | lch(37.78 104.32 305.89) | color: lch(37.78 104.32 305.89) |
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)
#4645BB — rgb(70, 69, 187)
Deuteranopia (Green-blind)
#484AB0 — rgb(72, 74, 176)
Tritanopia (Blue-blind)
#529891 — rgb(82, 152, 145)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(251, 78%, 55%);
text
color: hsl(251, 78%, 55%);
border
border: 2px solid hsl(251, 78%, 55%);
gradient light
background: linear-gradient(to right, hsl(251, 78%, 75%), hsl(251, 78%, 55%));
gradient dark
background: linear-gradient(to right, hsl(251, 78%, 55%), hsl(251, 78%, 35%))
hex
background-color: #5433E6;
tailwind
bg-[hsl(251,78%,55%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(251, 78%, 55%, 0.4);
css variable
--color-primary: hsl(251, 78%, 55%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(251, 78%, 55%)?
HEX: #5433E6 | RGB: rgb(84, 51, 230) | CMYK: 63%, 78%, 0%, 10% | HSV: 251°, 78%, 90%. Copy any format from the conversion table above.
What colors go well with #5433E6?
The complementary color is HSL(71, 78%, 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, 78%, 55%) in CSS?
As HSL: color: hsl(251, 78%, 55%); — As HEX: color: #5433E6; — As RGB: color: rgb(84, 51, 230); — Tailwind CSS: bg-[hsl(251,78%,55%)] — CSS variable: --color-primary: hsl(251, 78%, 55%);