HSL(245, 50%, 49%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(245,50%,49%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(245, 50%, 49%) | color: hsl(245, 50%, 49%) | |
| HEX | #493EBB | color: #493EBB | |
| RGB | rgb(73, 62, 187) | color: rgb(73, 62, 187) | |
| CMYK | cmyk(61%, 67%, 0%, 27%) | — | |
| HSV | hsv(245, 67%, 73%) | — | |
| HWB | hwb(245 24% 27%) | color: hwb(245 24% 27%) | |
| OKLCH | oklch(0.4561 0.1882 279.82) | color: oklch(0.4561 0.1882 279.82) | |
| Lab | lab(34.9 41.07 -64.38) | color: lab(34.9 41.07 -64.38) | |
| LCH | lch(34.9 76.36 302.54) | color: lch(34.9 76.36 302.54) |
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)
#44449D — rgb(68, 68, 157)
Deuteranopia (Green-blind)
#454696 — rgb(69, 70, 150)
Tritanopia (Blue-blind)
#488580 — rgb(72, 133, 128)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(245, 50%, 49%);
text
color: hsl(245, 50%, 49%);
border
border: 2px solid hsl(245, 50%, 49%);
gradient light
background: linear-gradient(to right, hsl(245, 50%, 69%), hsl(245, 50%, 49%));
gradient dark
background: linear-gradient(to right, hsl(245, 50%, 49%), hsl(245, 50%, 29%))
hex
background-color: #493EBB;
tailwind
bg-[hsl(245,50%,49%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(245, 50%, 49%, 0.4);
css variable
--color-primary: hsl(245, 50%, 49%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(245, 50%, 49%)?
HEX: #493EBB | RGB: rgb(73, 62, 187) | CMYK: 61%, 67%, 0%, 27% | HSV: 245°, 67%, 73%. Copy any format from the conversion table above.
What colors go well with #493EBB?
The complementary color is HSL(65, 50%, 49%). 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%, 49%) in CSS?
As HSL: color: hsl(245, 50%, 49%); — As HEX: color: #493EBB; — As RGB: color: rgb(73, 62, 187); — Tailwind CSS: bg-[hsl(245,50%,49%)] — CSS variable: --color-primary: hsl(245, 50%, 49%);