HSL(231, 82%, 81%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(231,82%,81%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(231, 82%, 81%) | color: hsl(231, 82%, 81%) | |
| HEX | #A7B3F6 | color: #A7B3F6 | |
| RGB | rgb(167, 179, 246) | color: rgb(167, 179, 246) | |
| CMYK | cmyk(32%, 27%, 0%, 4%) | — | |
| HSV | hsv(231, 32%, 96%) | — | |
| HWB | hwb(231 65% 4%) | color: hwb(231 65% 4%) | |
| OKLCH | oklch(0.7821 0.0966 276.11) | color: oklch(0.7821 0.0966 276.11) | |
| Lab | lab(74.26 11.01 -34.62) | color: lab(74.26 11.01 -34.62) | |
| LCH | lch(74.26 36.33 287.64) | color: lch(74.26 36.33 287.64) |
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)
#ACACE6 — rgb(172, 172, 230)
Deuteranopia (Green-blind)
#ACABE2 — rgb(172, 171, 226)
Tritanopia (Blue-blind)
#A8D9D6 — rgb(168, 217, 214)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(231, 82%, 81%);
text
color: hsl(231, 82%, 81%);
border
border: 2px solid hsl(231, 82%, 81%);
gradient light
background: linear-gradient(to right, hsl(231, 82%, 100%), hsl(231, 82%, 81%));
gradient dark
background: linear-gradient(to right, hsl(231, 82%, 81%), hsl(231, 82%, 61%))
hex
background-color: #A7B3F6;
tailwind
bg-[hsl(231,82%,81%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(231, 82%, 81%, 0.4);
css variable
--color-primary: hsl(231, 82%, 81%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(231, 82%, 81%)?
HEX: #A7B3F6 | RGB: rgb(167, 179, 246) | CMYK: 32%, 27%, 0%, 4% | HSV: 231°, 32%, 96%. Copy any format from the conversion table above.
What colors go well with #A7B3F6?
The complementary color is HSL(51, 82%, 81%). 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, 82%, 81%) in CSS?
As HSL: color: hsl(231, 82%, 81%); — As HEX: color: #A7B3F6; — As RGB: color: rgb(167, 179, 246); — Tailwind CSS: bg-[hsl(231,82%,81%)] — CSS variable: --color-primary: hsl(231, 82%, 81%);