HSL(246, 34%, 43%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(246,34%,43%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(246, 34%, 43%) | color: hsl(246, 34%, 43%) | |
| HEX | #504893 | color: #504893 | |
| RGB | rgb(80, 72, 147) | color: rgb(80, 72, 147) | |
| CMYK | cmyk(46%, 51%, 0%, 42%) | — | |
| HSV | hsv(246, 51%, 58%) | — | |
| HWB | hwb(246 28% 42%) | color: hwb(246 28% 42%) | |
| OKLCH | oklch(0.4482 0.1191 285.39) | color: oklch(0.4482 0.1191 285.39) | |
| Lab | lab(34.9 23.47 -40.42) | color: lab(34.9 23.47 -40.42) | |
| LCH | lch(34.9 46.74 300.14) | color: lch(34.9 46.74 300.14) |
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)
#4D4C81 — rgb(77, 76, 129)
Deuteranopia (Green-blind)
#4D4E7D — rgb(77, 78, 125)
Tritanopia (Blue-blind)
#50736F — rgb(80, 115, 111)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(246, 34%, 43%);
text
color: hsl(246, 34%, 43%);
border
border: 2px solid hsl(246, 34%, 43%);
gradient light
background: linear-gradient(to right, hsl(246, 34%, 63%), hsl(246, 34%, 43%));
gradient dark
background: linear-gradient(to right, hsl(246, 34%, 43%), hsl(246, 34%, 23%))
hex
background-color: #504893;
tailwind
bg-[hsl(246,34%,43%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(246, 34%, 43%, 0.4);
css variable
--color-primary: hsl(246, 34%, 43%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(246, 34%, 43%)?
HEX: #504893 | RGB: rgb(80, 72, 147) | CMYK: 46%, 51%, 0%, 42% | HSV: 246°, 51%, 58%. Copy any format from the conversion table above.
What colors go well with #504893?
The complementary color is HSL(66, 34%, 43%). For a triadic harmony, use hues 246°, 6°, and 126°. For analogous combinations, try hues 216° and 276°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(246, 34%, 43%) in CSS?
As HSL: color: hsl(246, 34%, 43%); — As HEX: color: #504893; — As RGB: color: rgb(80, 72, 147); — Tailwind CSS: bg-[hsl(246,34%,43%)] — CSS variable: --color-primary: hsl(246, 34%, 43%);