HSL(231, 34%, 65%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(231,34%,65%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(231, 34%, 65%) | color: hsl(231, 34%, 65%) | |
| HEX | #8791C4 | color: #8791C4 | |
| RGB | rgb(135, 145, 196) | color: rgb(135, 145, 196) | |
| CMYK | cmyk(31%, 26%, 0%, 23%) | — | |
| HSV | hsv(230, 31%, 77%) | — | |
| HWB | hwb(230 53% 23%) | color: hwb(230 53% 23%) | |
| OKLCH | oklch(0.6678 0.0766 275.56) | color: oklch(0.6678 0.0766 275.56) | |
| Lab | lab(61.12 8.31 -27.56) | color: lab(61.12 8.31 -27.56) | |
| LCH | lch(61.12 28.79 286.78) | color: lch(61.12 28.79 286.78) |
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)
#8B8BB8 — rgb(139, 139, 184)
Deuteranopia (Green-blind)
#8B8AB5 — rgb(139, 138, 181)
Tritanopia (Blue-blind)
#88AEAC — rgb(136, 174, 172)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(231, 34%, 65%);
text
color: hsl(231, 34%, 65%);
border
border: 2px solid hsl(231, 34%, 65%);
gradient light
background: linear-gradient(to right, hsl(231, 34%, 85%), hsl(231, 34%, 65%));
gradient dark
background: linear-gradient(to right, hsl(231, 34%, 65%), hsl(231, 34%, 45%))
hex
background-color: #8791C4;
tailwind
bg-[hsl(231,34%,65%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(231, 34%, 65%, 0.4);
css variable
--color-primary: hsl(231, 34%, 65%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(231, 34%, 65%)?
HEX: #8791C4 | RGB: rgb(135, 145, 196) | CMYK: 31%, 26%, 0%, 23% | HSV: 230°, 31%, 77%. Copy any format from the conversion table above.
What colors go well with #8791C4?
The complementary color is HSL(51, 34%, 65%). 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, 34%, 65%) in CSS?
As HSL: color: hsl(231, 34%, 65%); — As HEX: color: #8791C4; — As RGB: color: rgb(135, 145, 196); — Tailwind CSS: bg-[hsl(231,34%,65%)] — CSS variable: --color-primary: hsl(231, 34%, 65%);