HSL(247, 28%, 60%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(247,28%,60%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(247, 28%, 60%) | color: hsl(247, 28%, 60%) | |
| HEX | #837CB6 | color: #837CB6 | |
| RGB | rgb(131, 124, 182) | color: rgb(131, 124, 182) | |
| CMYK | cmyk(28%, 32%, 0%, 29%) | — | |
| HSV | hsv(247, 32%, 71%) | — | |
| HWB | hwb(247 48% 29%) | color: hwb(247 48% 29%) | |
| OKLCH | oklch(0.6153 0.0869 289.11) | color: oklch(0.6153 0.0869 289.11) | |
| Lab | lab(54.68 15.76 -29.61) | color: lab(54.68 15.76 -29.61) | |
| LCH | lch(54.68 33.54 298.02) | color: lch(54.68 33.54 298.02) |
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)
#8080A8 — rgb(128, 128, 168)
Deuteranopia (Green-blind)
#8081A5 — rgb(128, 129, 165)
Tritanopia (Blue-blind)
#839D9A — rgb(131, 157, 154)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(247, 28%, 60%);
text
color: hsl(247, 28%, 60%);
border
border: 2px solid hsl(247, 28%, 60%);
gradient light
background: linear-gradient(to right, hsl(247, 28%, 80%), hsl(247, 28%, 60%));
gradient dark
background: linear-gradient(to right, hsl(247, 28%, 60%), hsl(247, 28%, 40%))
hex
background-color: #837CB6;
tailwind
bg-[hsl(247,28%,60%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(247, 28%, 60%, 0.4);
css variable
--color-primary: hsl(247, 28%, 60%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(247, 28%, 60%)?
HEX: #837CB6 | RGB: rgb(131, 124, 182) | CMYK: 28%, 32%, 0%, 29% | HSV: 247°, 32%, 71%. Copy any format from the conversion table above.
What colors go well with #837CB6?
The complementary color is HSL(67, 28%, 60%). For a triadic harmony, use hues 247°, 7°, and 127°. For analogous combinations, try hues 217° and 277°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(247, 28%, 60%) in CSS?
As HSL: color: hsl(247, 28%, 60%); — As HEX: color: #837CB6; — As RGB: color: rgb(131, 124, 182); — Tailwind CSS: bg-[hsl(247,28%,60%)] — CSS variable: --color-primary: hsl(247, 28%, 60%);