HSL(231, 77%, 80%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(231,77%,80%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(231, 77%, 80%) | color: hsl(231, 77%, 80%) | |
| HEX | #A5B1F3 | color: #A5B1F3 | |
| RGB | rgb(165, 177, 243) | color: rgb(165, 177, 243) | |
| CMYK | cmyk(32%, 27%, 0%, 5%) | — | |
| HSV | hsv(231, 32%, 95%) | — | |
| HWB | hwb(231 65% 5%) | color: hwb(231 65% 5%) | |
| OKLCH | oklch(0.7754 0.0954 276) | color: oklch(0.7754 0.0954 276) | |
| Lab | lab(73.49 10.81 -34.2) | color: lab(73.49 10.81 -34.2) | |
| LCH | lch(73.49 35.87 287.54) | color: lch(73.49 35.87 287.54) |
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)
#AAAAE3 — rgb(170, 170, 227)
Deuteranopia (Green-blind)
#AAA9DF — rgb(170, 169, 223)
Tritanopia (Blue-blind)
#A6D6D4 — rgb(166, 214, 212)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(231, 77%, 80%);
text
color: hsl(231, 77%, 80%);
border
border: 2px solid hsl(231, 77%, 80%);
gradient light
background: linear-gradient(to right, hsl(231, 77%, 100%), hsl(231, 77%, 80%));
gradient dark
background: linear-gradient(to right, hsl(231, 77%, 80%), hsl(231, 77%, 60%))
hex
background-color: #A5B1F3;
tailwind
bg-[hsl(231,77%,80%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(231, 77%, 80%, 0.4);
css variable
--color-primary: hsl(231, 77%, 80%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(231, 77%, 80%)?
HEX: #A5B1F3 | RGB: rgb(165, 177, 243) | CMYK: 32%, 27%, 0%, 5% | HSV: 231°, 32%, 95%. Copy any format from the conversion table above.
What colors go well with #A5B1F3?
The complementary color is HSL(51, 77%, 80%). 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, 77%, 80%) in CSS?
As HSL: color: hsl(231, 77%, 80%); — As HEX: color: #A5B1F3; — As RGB: color: rgb(165, 177, 243); — Tailwind CSS: bg-[hsl(231,77%,80%)] — CSS variable: --color-primary: hsl(231, 77%, 80%);