HSL(231, 76%, 74%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(231,76%,74%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(231, 76%, 74%) | color: hsl(231, 76%, 74%) | |
| HEX | #8A99EF | color: #8A99EF | |
| RGB | rgb(138, 153, 239) | color: rgb(138, 153, 239) | |
| CMYK | cmyk(42%, 36%, 0%, 6%) | — | |
| HSV | hsv(231, 42%, 94%) | — | |
| HWB | hwb(231 55% 6%) | color: hwb(231 55% 6%) | |
| OKLCH | oklch(0.7067 0.1268 275.16) | color: oklch(0.7067 0.1268 275.16) | |
| Lab | lab(65.29 16.16 -44.94) | color: lab(65.29 16.16 -44.94) | |
| LCH | lch(65.29 47.76 289.78) | color: lch(65.29 47.76 289.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)
#9091DA — rgb(144, 145, 218)
Deuteranopia (Green-blind)
#908FD5 — rgb(144, 143, 213)
Tritanopia (Blue-blind)
#8BCAC6 — rgb(139, 202, 198)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(231, 76%, 74%);
text
color: hsl(231, 76%, 74%);
border
border: 2px solid hsl(231, 76%, 74%);
gradient light
background: linear-gradient(to right, hsl(231, 76%, 94%), hsl(231, 76%, 74%));
gradient dark
background: linear-gradient(to right, hsl(231, 76%, 74%), hsl(231, 76%, 54%))
hex
background-color: #8A99EF;
tailwind
bg-[hsl(231,76%,74%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(231, 76%, 74%, 0.4);
css variable
--color-primary: hsl(231, 76%, 74%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(231, 76%, 74%)?
HEX: #8A99EF | RGB: rgb(138, 153, 239) | CMYK: 42%, 36%, 0%, 6% | HSV: 231°, 42%, 94%. Copy any format from the conversion table above.
What colors go well with #8A99EF?
The complementary color is HSL(51, 76%, 74%). 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, 76%, 74%) in CSS?
As HSL: color: hsl(231, 76%, 74%); — As HEX: color: #8A99EF; — As RGB: color: rgb(138, 153, 239); — Tailwind CSS: bg-[hsl(231,76%,74%)] — CSS variable: --color-primary: hsl(231, 76%, 74%);