HSL(251, 33%, 52%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(251,33%,52%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(251, 33%, 52%) | color: hsl(251, 33%, 52%) | |
| HEX | #6B5CAD | color: #6B5CAD | |
| RGB | rgb(107, 92, 173) | color: rgb(107, 92, 173) | |
| CMYK | cmyk(38%, 47%, 0%, 32%) | — | |
| HSV | hsv(251, 47%, 68%) | — | |
| HWB | hwb(251 36% 32%) | color: hwb(251 36% 32%) | |
| OKLCH | oklch(0.527 0.1243 289.97) | color: oklch(0.527 0.1243 289.97) | |
| Lab | lab(43.94 25.71 -41.4) | color: lab(43.94 25.71 -41.4) | |
| LCH | lch(43.94 48.73 301.84) | color: lch(43.94 48.73 301.84) |
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)
#656499 — rgb(101, 100, 153)
Deuteranopia (Green-blind)
#656795 — rgb(101, 103, 149)
Tritanopia (Blue-blind)
#6A8A87 — rgb(106, 138, 135)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(251, 33%, 52%);
text
color: hsl(251, 33%, 52%);
border
border: 2px solid hsl(251, 33%, 52%);
gradient light
background: linear-gradient(to right, hsl(251, 33%, 72%), hsl(251, 33%, 52%));
gradient dark
background: linear-gradient(to right, hsl(251, 33%, 52%), hsl(251, 33%, 32%))
hex
background-color: #6B5CAD;
tailwind
bg-[hsl(251,33%,52%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(251, 33%, 52%, 0.4);
css variable
--color-primary: hsl(251, 33%, 52%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(251, 33%, 52%)?
HEX: #6B5CAD | RGB: rgb(107, 92, 173) | CMYK: 38%, 47%, 0%, 32% | HSV: 251°, 47%, 68%. Copy any format from the conversion table above.
What colors go well with #6B5CAD?
The complementary color is HSL(71, 33%, 52%). For a triadic harmony, use hues 251°, 11°, and 131°. For analogous combinations, try hues 221° and 281°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(251, 33%, 52%) in CSS?
As HSL: color: hsl(251, 33%, 52%); — As HEX: color: #6B5CAD; — As RGB: color: rgb(107, 92, 173); — Tailwind CSS: bg-[hsl(251,33%,52%)] — CSS variable: --color-primary: hsl(251, 33%, 52%);