HSL(245, 43%, 78%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(245,43%,78%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(245, 43%, 78%) | color: hsl(245, 43%, 78%) | |
| HEX | #B3AFDF | color: #B3AFDF | |
| RGB | rgb(179, 175, 223) | color: rgb(179, 175, 223) | |
| CMYK | cmyk(20%, 22%, 0%, 13%) | — | |
| HSV | hsv(245, 22%, 87%) | — | |
| HWB | hwb(245 68% 13%) | color: hwb(245 68% 13%) | |
| OKLCH | oklch(0.7738 0.0681 288.52) | color: oklch(0.7738 0.0681 288.52) | |
| Lab | lab(73.27 11.28 -23.59) | color: lab(73.27 11.28 -23.59) | |
| LCH | lch(73.27 26.15 295.56) | color: lch(73.27 26.15 295.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)
#B1B1D3 — rgb(177, 177, 211)
Deuteranopia (Green-blind)
#B2B2D1 — rgb(178, 178, 209)
Tritanopia (Blue-blind)
#B3CAC8 — rgb(179, 202, 200)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(245, 43%, 78%);
text
color: hsl(245, 43%, 78%);
border
border: 2px solid hsl(245, 43%, 78%);
gradient light
background: linear-gradient(to right, hsl(245, 43%, 98%), hsl(245, 43%, 78%));
gradient dark
background: linear-gradient(to right, hsl(245, 43%, 78%), hsl(245, 43%, 58%))
hex
background-color: #B3AFDF;
tailwind
bg-[hsl(245,43%,78%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(245, 43%, 78%, 0.4);
css variable
--color-primary: hsl(245, 43%, 78%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(245, 43%, 78%)?
HEX: #B3AFDF | RGB: rgb(179, 175, 223) | CMYK: 20%, 22%, 0%, 13% | HSV: 245°, 22%, 87%. Copy any format from the conversion table above.
What colors go well with #B3AFDF?
The complementary color is HSL(65, 43%, 78%). For a triadic harmony, use hues 245°, 5°, and 125°. For analogous combinations, try hues 215° and 275°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(245, 43%, 78%) in CSS?
As HSL: color: hsl(245, 43%, 78%); — As HEX: color: #B3AFDF; — As RGB: color: rgb(179, 175, 223); — Tailwind CSS: bg-[hsl(245,43%,78%)] — CSS variable: --color-primary: hsl(245, 43%, 78%);