HSL(251, 43%, 48%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(251,43%,48%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(251, 43%, 48%) | color: hsl(251, 43%, 48%) | |
| HEX | #5946AF | color: #5946AF | |
| RGB | rgb(89, 70, 175) | color: rgb(89, 70, 175) | |
| CMYK | cmyk(49%, 60%, 0%, 31%) | — | |
| HSV | hsv(251, 60%, 69%) | — | |
| HWB | hwb(251 28% 31%) | color: hwb(251 28% 31%) | |
| OKLCH | oklch(0.4727 0.1603 286.89) | color: oklch(0.4727 0.1603 286.89) | |
| Lab | lab(37.11 35.41 -53.62) | color: lab(37.11 35.41 -53.62) | |
| LCH | lch(37.11 64.26 303.44) | color: lch(37.11 64.26 303.44) |
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)
#515196 — rgb(81, 81, 150)
Deuteranopia (Green-blind)
#525390 — rgb(82, 83, 144)
Tritanopia (Blue-blind)
#58827D — rgb(88, 130, 125)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(251, 43%, 48%);
text
color: hsl(251, 43%, 48%);
border
border: 2px solid hsl(251, 43%, 48%);
gradient light
background: linear-gradient(to right, hsl(251, 43%, 68%), hsl(251, 43%, 48%));
gradient dark
background: linear-gradient(to right, hsl(251, 43%, 48%), hsl(251, 43%, 28%))
hex
background-color: #5946AF;
tailwind
bg-[hsl(251,43%,48%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(251, 43%, 48%, 0.4);
css variable
--color-primary: hsl(251, 43%, 48%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(251, 43%, 48%)?
HEX: #5946AF | RGB: rgb(89, 70, 175) | CMYK: 49%, 60%, 0%, 31% | HSV: 251°, 60%, 69%. Copy any format from the conversion table above.
What colors go well with #5946AF?
The complementary color is HSL(71, 43%, 48%). 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%, 48%) in CSS?
As HSL: color: hsl(251, 43%, 48%); — As HEX: color: #5946AF; — As RGB: color: rgb(89, 70, 175); — Tailwind CSS: bg-[hsl(251,43%,48%)] — CSS variable: --color-primary: hsl(251, 43%, 48%);