HSL(251, 54%, 78%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(251,54%,78%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(251, 54%, 78%) | color: hsl(251, 54%, 78%) | |
| HEX | #B4A9E5 | color: #B4A9E5 | |
| RGB | rgb(180, 169, 229) | color: rgb(180, 169, 229) | |
| CMYK | cmyk(21%, 26%, 0%, 10%) | — | |
| HSV | hsv(251, 26%, 90%) | — | |
| HWB | hwb(251 67% 10%) | color: hwb(251 67% 10%) | |
| OKLCH | oklch(0.7653 0.0856 292.67) | color: oklch(0.7653 0.0856 292.67) | |
| Lab | lab(72.05 16.28 -28.71) | color: lab(72.05 16.28 -28.71) | |
| LCH | lch(72.05 33 299.56) | color: lch(72.05 33 299.56) |
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: black
Color Blindness Simulation
Protanopia (Red-blind)
#AFAFD6 — rgb(175, 175, 214)
Deuteranopia (Green-blind)
#B0B1D3 — rgb(176, 177, 211)
Tritanopia (Blue-blind)
#B3CBC9 — rgb(179, 203, 201)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(251, 54%, 78%);
text
color: hsl(251, 54%, 78%);
border
border: 2px solid hsl(251, 54%, 78%);
gradient light
background: linear-gradient(to right, hsl(251, 54%, 98%), hsl(251, 54%, 78%));
gradient dark
background: linear-gradient(to right, hsl(251, 54%, 78%), hsl(251, 54%, 58%))
hex
background-color: #B4A9E5;
tailwind
bg-[hsl(251,54%,78%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(251, 54%, 78%, 0.4);
css variable
--color-primary: hsl(251, 54%, 78%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(251, 54%, 78%)?
HEX: #B4A9E5 | RGB: rgb(180, 169, 229) | CMYK: 21%, 26%, 0%, 10% | HSV: 251°, 26%, 90%. Copy any format from the conversion table above.
What colors go well with #B4A9E5?
The complementary color is HSL(71, 54%, 78%). 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, 54%, 78%) in CSS?
As HSL: color: hsl(251, 54%, 78%); — As HEX: color: #B4A9E5; — As RGB: color: rgb(180, 169, 229); — Tailwind CSS: bg-[hsl(251,54%,78%)] — CSS variable: --color-primary: hsl(251, 54%, 78%);