HSL(245, 50%, 63%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(245,50%,63%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(245, 50%, 63%) | color: hsl(245, 50%, 63%) | |
| HEX | #7971D0 | color: #7971D0 | |
| RGB | rgb(121, 113, 208) | color: rgb(121, 113, 208) | |
| CMYK | cmyk(42%, 46%, 0%, 18%) | — | |
| HSV | hsv(245, 46%, 82%) | — | |
| HWB | hwb(245 44% 18%) | color: hwb(245 44% 18%) | |
| OKLCH | oklch(0.5995 0.1413 285.13) | color: oklch(0.5995 0.1413 285.13) | |
| Lab | lab(52.32 26.62 -48.23) | color: lab(52.32 26.62 -48.23) | |
| LCH | lch(52.32 55.09 298.9) | color: lch(52.32 55.09 298.9) |
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)
#7675B9 — rgb(118, 117, 185)
Deuteranopia (Green-blind)
#7677B4 — rgb(118, 119, 180)
Tritanopia (Blue-blind)
#79A7A3 — rgb(121, 167, 163)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(245, 50%, 63%);
text
color: hsl(245, 50%, 63%);
border
border: 2px solid hsl(245, 50%, 63%);
gradient light
background: linear-gradient(to right, hsl(245, 50%, 83%), hsl(245, 50%, 63%));
gradient dark
background: linear-gradient(to right, hsl(245, 50%, 63%), hsl(245, 50%, 43%))
hex
background-color: #7971D0;
tailwind
bg-[hsl(245,50%,63%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(245, 50%, 63%, 0.4);
css variable
--color-primary: hsl(245, 50%, 63%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(245, 50%, 63%)?
HEX: #7971D0 | RGB: rgb(121, 113, 208) | CMYK: 42%, 46%, 0%, 18% | HSV: 245°, 46%, 82%. Copy any format from the conversion table above.
What colors go well with #7971D0?
The complementary color is HSL(65, 50%, 63%). 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, 50%, 63%) in CSS?
As HSL: color: hsl(245, 50%, 63%); — As HEX: color: #7971D0; — As RGB: color: rgb(121, 113, 208); — Tailwind CSS: bg-[hsl(245,50%,63%)] — CSS variable: --color-primary: hsl(245, 50%, 63%);