HSL(251, 38%, 56%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(251,38%,56%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(251, 38%, 56%) | color: hsl(251, 38%, 56%) | |
| HEX | #7464B9 | color: #7464B9 | |
| RGB | rgb(116, 100, 185) | color: rgb(116, 100, 185) | |
| CMYK | cmyk(37%, 46%, 0%, 27%) | — | |
| HSV | hsv(251, 46%, 73%) | — | |
| HWB | hwb(251 39% 27%) | color: hwb(251 39% 27%) | |
| OKLCH | oklch(0.5572 0.1288 290.23) | color: oklch(0.5572 0.1288 290.23) | |
| Lab | lab(47.4 26.63 -42.86) | color: lab(47.4 26.63 -42.86) | |
| LCH | lch(47.4 50.46 301.85) | color: lch(47.4 50.46 301.85) |
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)
#6D6DA4 — rgb(109, 109, 164)
Deuteranopia (Green-blind)
#6E6FA0 — rgb(110, 111, 160)
Tritanopia (Blue-blind)
#739491 — rgb(115, 148, 145)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(251, 38%, 56%);
text
color: hsl(251, 38%, 56%);
border
border: 2px solid hsl(251, 38%, 56%);
gradient light
background: linear-gradient(to right, hsl(251, 38%, 76%), hsl(251, 38%, 56%));
gradient dark
background: linear-gradient(to right, hsl(251, 38%, 56%), hsl(251, 38%, 36%))
hex
background-color: #7464B9;
tailwind
bg-[hsl(251,38%,56%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(251, 38%, 56%, 0.4);
css variable
--color-primary: hsl(251, 38%, 56%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(251, 38%, 56%)?
HEX: #7464B9 | RGB: rgb(116, 100, 185) | CMYK: 37%, 46%, 0%, 27% | HSV: 251°, 46%, 73%. Copy any format from the conversion table above.
What colors go well with #7464B9?
The complementary color is HSL(71, 38%, 56%). 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, 38%, 56%) in CSS?
As HSL: color: hsl(251, 38%, 56%); — As HEX: color: #7464B9; — As RGB: color: rgb(116, 100, 185); — Tailwind CSS: bg-[hsl(251,38%,56%)] — CSS variable: --color-primary: hsl(251, 38%, 56%);