HSL(251, 72%, 54%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(251,72%,54%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(251, 72%, 54%) | color: hsl(251, 72%, 54%) | |
| HEX | #5435DE | color: #5435DE | |
| RGB | rgb(84, 53, 222) | color: rgb(84, 53, 222) | |
| CMYK | cmyk(62%, 76%, 0%, 13%) | — | |
| HSV | hsv(251, 76%, 87%) | — | |
| HWB | hwb(251 21% 13%) | color: hwb(251 21% 13%) | |
| OKLCH | oklch(0.4853 0.2375 281.28) | color: oklch(0.4853 0.2375 281.28) | |
| Lab | lab(37.31 57.95 -80.72) | color: lab(37.31 57.95 -80.72) | |
| LCH | lch(37.31 99.37 305.68) | color: lch(37.31 99.37 305.68) |
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)
#4746B5 — rgb(71, 70, 181)
Deuteranopia (Green-blind)
#484BAB — rgb(72, 75, 171)
Tritanopia (Blue-blind)
#52958E — rgb(82, 149, 142)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(251, 72%, 54%);
text
color: hsl(251, 72%, 54%);
border
border: 2px solid hsl(251, 72%, 54%);
gradient light
background: linear-gradient(to right, hsl(251, 72%, 74%), hsl(251, 72%, 54%));
gradient dark
background: linear-gradient(to right, hsl(251, 72%, 54%), hsl(251, 72%, 34%))
hex
background-color: #5435DE;
tailwind
bg-[hsl(251,72%,54%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(251, 72%, 54%, 0.4);
css variable
--color-primary: hsl(251, 72%, 54%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(251, 72%, 54%)?
HEX: #5435DE | RGB: rgb(84, 53, 222) | CMYK: 62%, 76%, 0%, 13% | HSV: 251°, 76%, 87%. Copy any format from the conversion table above.
What colors go well with #5435DE?
The complementary color is HSL(71, 72%, 54%). 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, 72%, 54%) in CSS?
As HSL: color: hsl(251, 72%, 54%); — As HEX: color: #5435DE; — As RGB: color: rgb(84, 53, 222); — Tailwind CSS: bg-[hsl(251,72%,54%)] — CSS variable: --color-primary: hsl(251, 72%, 54%);