HSL(245, 50%, 58%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(245,50%,58%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(245, 50%, 58%) | color: hsl(245, 50%, 58%) | |
| HEX | #675EC9 | color: #675EC9 | |
| RGB | rgb(103, 94, 201) | color: rgb(103, 94, 201) | |
| CMYK | cmyk(49%, 53%, 0%, 21%) | — | |
| HSV | hsv(245, 53%, 79%) | — | |
| HWB | hwb(245 37% 21%) | color: hwb(245 37% 21%) | |
| OKLCH | oklch(0.5454 0.1606 283.5) | color: oklch(0.5454 0.1606 283.5) | |
| Lab | lab(45.78 31.78 -54.77) | color: lab(45.78 31.78 -54.77) | |
| LCH | lch(45.78 63.32 300.12) | color: lch(45.78 63.32 300.12) |
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)
#6363AF — rgb(99, 99, 175)
Deuteranopia (Green-blind)
#6464A9 — rgb(100, 100, 169)
Tritanopia (Blue-blind)
#679B96 — rgb(103, 155, 150)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(245, 50%, 58%);
text
color: hsl(245, 50%, 58%);
border
border: 2px solid hsl(245, 50%, 58%);
gradient light
background: linear-gradient(to right, hsl(245, 50%, 78%), hsl(245, 50%, 58%));
gradient dark
background: linear-gradient(to right, hsl(245, 50%, 58%), hsl(245, 50%, 38%))
hex
background-color: #675EC9;
tailwind
bg-[hsl(245,50%,58%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(245, 50%, 58%, 0.4);
css variable
--color-primary: hsl(245, 50%, 58%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(245, 50%, 58%)?
HEX: #675EC9 | RGB: rgb(103, 94, 201) | CMYK: 49%, 53%, 0%, 21% | HSV: 245°, 53%, 79%. Copy any format from the conversion table above.
What colors go well with #675EC9?
The complementary color is HSL(65, 50%, 58%). 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%, 58%) in CSS?
As HSL: color: hsl(245, 50%, 58%); — As HEX: color: #675EC9; — As RGB: color: rgb(103, 94, 201); — Tailwind CSS: bg-[hsl(245,50%,58%)] — CSS variable: --color-primary: hsl(245, 50%, 58%);