HSL(233, 31%, 65%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(233,31%,65%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(233, 31%, 65%) | color: hsl(233, 31%, 65%) | |
| HEX | #8A91C1 | color: #8A91C1 | |
| RGB | rgb(138, 145, 193) | color: rgb(138, 145, 193) | |
| CMYK | cmyk(28%, 25%, 0%, 24%) | — | |
| HSV | hsv(232, 28%, 76%) | — | |
| HWB | hwb(232 55% 24%) | color: hwb(232 55% 24%) | |
| OKLCH | oklch(0.6688 0.0716 277.84) | color: oklch(0.6688 0.0716 277.84) | |
| Lab | lab(61.22 8.44 -25.7) | color: lab(61.22 8.44 -25.7) | |
| LCH | lch(61.22 27.05 288.18) | color: lch(61.22 27.05 288.18) |
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)
#8D8DB5 — rgb(141, 141, 181)
Deuteranopia (Green-blind)
#8D8CB3 — rgb(141, 140, 179)
Tritanopia (Blue-blind)
#8AACAA — rgb(138, 172, 170)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(233, 31%, 65%);
text
color: hsl(233, 31%, 65%);
border
border: 2px solid hsl(233, 31%, 65%);
gradient light
background: linear-gradient(to right, hsl(233, 31%, 85%), hsl(233, 31%, 65%));
gradient dark
background: linear-gradient(to right, hsl(233, 31%, 65%), hsl(233, 31%, 45%))
hex
background-color: #8A91C1;
tailwind
bg-[hsl(233,31%,65%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(233, 31%, 65%, 0.4);
css variable
--color-primary: hsl(233, 31%, 65%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(233, 31%, 65%)?
HEX: #8A91C1 | RGB: rgb(138, 145, 193) | CMYK: 28%, 25%, 0%, 24% | HSV: 232°, 28%, 76%. Copy any format from the conversion table above.
What colors go well with #8A91C1?
The complementary color is HSL(53, 31%, 65%). For a triadic harmony, use hues 233°, 353°, and 113°. For analogous combinations, try hues 203° and 263°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(233, 31%, 65%) in CSS?
As HSL: color: hsl(233, 31%, 65%); — As HEX: color: #8A91C1; — As RGB: color: rgb(138, 145, 193); — Tailwind CSS: bg-[hsl(233,31%,65%)] — CSS variable: --color-primary: hsl(233, 31%, 65%);