HSL(251, 43%, 44%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(251,43%,44%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(251, 43%, 44%) | color: hsl(251, 43%, 44%) | |
| HEX | #5240A0 | color: #5240A0 | |
| RGB | rgb(82, 64, 160) | color: rgb(82, 64, 160) | |
| CMYK | cmyk(49%, 60%, 0%, 37%) | — | |
| HSV | hsv(251, 60%, 63%) | — | |
| HWB | hwb(251 25% 37%) | color: hwb(251 25% 37%) | |
| OKLCH | oklch(0.4446 0.149 287.34) | color: oklch(0.4446 0.149 287.34) | |
| Lab | lab(33.98 32.99 -49.76) | color: lab(33.98 32.99 -49.76) | |
| LCH | lch(33.98 59.7 303.54) | color: lch(33.98 59.7 303.54) |
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)
#4A4A89 — rgb(74, 74, 137)
Deuteranopia (Green-blind)
#4B4D83 — rgb(75, 77, 131)
Tritanopia (Blue-blind)
#517672 — rgb(81, 118, 114)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(251, 43%, 44%);
text
color: hsl(251, 43%, 44%);
border
border: 2px solid hsl(251, 43%, 44%);
gradient light
background: linear-gradient(to right, hsl(251, 43%, 64%), hsl(251, 43%, 44%));
gradient dark
background: linear-gradient(to right, hsl(251, 43%, 44%), hsl(251, 43%, 24%))
hex
background-color: #5240A0;
tailwind
bg-[hsl(251,43%,44%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(251, 43%, 44%, 0.4);
css variable
--color-primary: hsl(251, 43%, 44%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(251, 43%, 44%)?
HEX: #5240A0 | RGB: rgb(82, 64, 160) | CMYK: 49%, 60%, 0%, 37% | HSV: 251°, 60%, 63%. Copy any format from the conversion table above.
What colors go well with #5240A0?
The complementary color is HSL(71, 43%, 44%). 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, 43%, 44%) in CSS?
As HSL: color: hsl(251, 43%, 44%); — As HEX: color: #5240A0; — As RGB: color: rgb(82, 64, 160); — Tailwind CSS: bg-[hsl(251,43%,44%)] — CSS variable: --color-primary: hsl(251, 43%, 44%);