HSL(231, 80%, 71%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(231,80%,71%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(231, 80%, 71%) | color: hsl(231, 80%, 71%) | |
| HEX | #7A8CF0 | color: #7A8CF0 | |
| RGB | rgb(122, 140, 240) | color: rgb(122, 140, 240) | |
| CMYK | cmyk(49%, 42%, 0%, 6%) | — | |
| HSV | hsv(231, 49%, 94%) | — | |
| HWB | hwb(231 48% 6%) | color: hwb(231 48% 6%) | |
| OKLCH | oklch(0.6708 0.1489 274.01) | color: oklch(0.6708 0.1489 274.01) | |
| Lab | lab(60.94 20.22 -52.43) | color: lab(60.94 20.22 -52.43) | |
| LCH | lch(60.94 56.19 291.09) | color: lch(60.94 56.19 291.09) |
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)
#8282D8 — rgb(130, 130, 216)
Deuteranopia (Green-blind)
#817FD2 — rgb(129, 127, 210)
Tritanopia (Blue-blind)
#7BC5C1 — rgb(123, 197, 193)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(231, 80%, 71%);
text
color: hsl(231, 80%, 71%);
border
border: 2px solid hsl(231, 80%, 71%);
gradient light
background: linear-gradient(to right, hsl(231, 80%, 91%), hsl(231, 80%, 71%));
gradient dark
background: linear-gradient(to right, hsl(231, 80%, 71%), hsl(231, 80%, 51%))
hex
background-color: #7A8CF0;
tailwind
bg-[hsl(231,80%,71%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(231, 80%, 71%, 0.4);
css variable
--color-primary: hsl(231, 80%, 71%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(231, 80%, 71%)?
HEX: #7A8CF0 | RGB: rgb(122, 140, 240) | CMYK: 49%, 42%, 0%, 6% | HSV: 231°, 49%, 94%. Copy any format from the conversion table above.
What colors go well with #7A8CF0?
The complementary color is HSL(51, 80%, 71%). For a triadic harmony, use hues 231°, 351°, and 111°. For analogous combinations, try hues 201° and 261°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(231, 80%, 71%) in CSS?
As HSL: color: hsl(231, 80%, 71%); — As HEX: color: #7A8CF0; — As RGB: color: rgb(122, 140, 240); — Tailwind CSS: bg-[hsl(231,80%,71%)] — CSS variable: --color-primary: hsl(231, 80%, 71%);