HSL(221, 31%, 65%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(221,31%,65%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(221, 31%, 65%) | color: hsl(221, 31%, 65%) | |
| HEX | #8A9CC1 | color: #8A9CC1 | |
| RGB | rgb(138, 156, 193) | color: rgb(138, 156, 193) | |
| CMYK | cmyk(28%, 19%, 0%, 24%) | — | |
| HSV | hsv(220, 28%, 76%) | — | |
| HWB | hwb(220 55% 24%) | color: hwb(220 55% 24%) | |
| OKLCH | oklch(0.6919 0.0584 264.57) | color: oklch(0.6919 0.0584 264.57) | |
| Lab | lab(64.18 2.19 -21.16) | color: lab(64.18 2.19 -21.16) | |
| LCH | lch(64.18 21.27 275.91) | color: lch(64.18 21.27 275.91) |
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)
#9292B8 — rgb(146, 146, 184)
Deuteranopia (Green-blind)
#918FB6 — rgb(145, 143, 182)
Tritanopia (Blue-blind)
#8BB1AF — rgb(139, 177, 175)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(221, 31%, 65%);
text
color: hsl(221, 31%, 65%);
border
border: 2px solid hsl(221, 31%, 65%);
gradient light
background: linear-gradient(to right, hsl(221, 31%, 85%), hsl(221, 31%, 65%));
gradient dark
background: linear-gradient(to right, hsl(221, 31%, 65%), hsl(221, 31%, 45%))
hex
background-color: #8A9CC1;
tailwind
bg-[hsl(221,31%,65%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(221, 31%, 65%, 0.4);
css variable
--color-primary: hsl(221, 31%, 65%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(221, 31%, 65%)?
HEX: #8A9CC1 | RGB: rgb(138, 156, 193) | CMYK: 28%, 19%, 0%, 24% | HSV: 220°, 28%, 76%. Copy any format from the conversion table above.
What colors go well with #8A9CC1?
The complementary color is HSL(41, 31%, 65%). For a triadic harmony, use hues 221°, 341°, and 101°. For analogous combinations, try hues 191° and 251°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(221, 31%, 65%) in CSS?
As HSL: color: hsl(221, 31%, 65%); — As HEX: color: #8A9CC1; — As RGB: color: rgb(138, 156, 193); — Tailwind CSS: bg-[hsl(221,31%,65%)] — CSS variable: --color-primary: hsl(221, 31%, 65%);