HSL(251, 65%, 64%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(251,65%,64%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(251, 65%, 64%) | color: hsl(251, 65%, 64%) | |
| HEX | #7D68DF | color: #7D68DF | |
| RGB | rgb(125, 104, 223) | color: rgb(125, 104, 223) | |
| CMYK | cmyk(44%, 53%, 0%, 13%) | — | |
| HSV | hsv(251, 53%, 87%) | — | |
| HWB | hwb(251 41% 13%) | color: hwb(251 41% 13%) | |
| OKLCH | oklch(0.596 0.1743 288.04) | color: oklch(0.596 0.1743 288.04) | |
| Lab | lab(51.37 37.18 -58.23) | color: lab(51.37 37.18 -58.23) | |
| LCH | lch(51.37 69.09 302.56) | color: lch(51.37 69.09 302.56) |
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)
#7474C2 — rgb(116, 116, 194)
Deuteranopia (Green-blind)
#7577BB — rgb(117, 119, 187)
Tritanopia (Blue-blind)
#7CABA6 — rgb(124, 171, 166)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(251, 65%, 64%);
text
color: hsl(251, 65%, 64%);
border
border: 2px solid hsl(251, 65%, 64%);
gradient light
background: linear-gradient(to right, hsl(251, 65%, 84%), hsl(251, 65%, 64%));
gradient dark
background: linear-gradient(to right, hsl(251, 65%, 64%), hsl(251, 65%, 44%))
hex
background-color: #7D68DF;
tailwind
bg-[hsl(251,65%,64%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(251, 65%, 64%, 0.4);
css variable
--color-primary: hsl(251, 65%, 64%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(251, 65%, 64%)?
HEX: #7D68DF | RGB: rgb(125, 104, 223) | CMYK: 44%, 53%, 0%, 13% | HSV: 251°, 53%, 87%. Copy any format from the conversion table above.
What colors go well with #7D68DF?
The complementary color is HSL(71, 65%, 64%). 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, 65%, 64%) in CSS?
As HSL: color: hsl(251, 65%, 64%); — As HEX: color: #7D68DF; — As RGB: color: rgb(125, 104, 223); — Tailwind CSS: bg-[hsl(251,65%,64%)] — CSS variable: --color-primary: hsl(251, 65%, 64%);