HSL(232, 77%, 74%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(232,77%,74%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(232, 77%, 74%) | color: hsl(232, 77%, 74%) | |
| HEX | #8A97F0 | color: #8A97F0 | |
| RGB | rgb(138, 151, 240) | color: rgb(138, 151, 240) | |
| CMYK | cmyk(43%, 37%, 0%, 6%) | — | |
| HSV | hsv(232, 43%, 94%) | — | |
| HWB | hwb(232 54% 6%) | color: hwb(232 54% 6%) | |
| OKLCH | oklch(0.7033 0.1308 276.19) | color: oklch(0.7033 0.1308 276.19) | |
| Lab | lab(64.82 17.59 -46.23) | color: lab(64.82 17.59 -46.23) | |
| LCH | lch(64.82 49.46 290.83) | color: lch(64.82 49.46 290.83) |
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)
#9090DA — rgb(144, 144, 218)
Deuteranopia (Green-blind)
#8F8ED5 — rgb(143, 142, 213)
Tritanopia (Blue-blind)
#8BC9C6 — rgb(139, 201, 198)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(232, 77%, 74%);
text
color: hsl(232, 77%, 74%);
border
border: 2px solid hsl(232, 77%, 74%);
gradient light
background: linear-gradient(to right, hsl(232, 77%, 94%), hsl(232, 77%, 74%));
gradient dark
background: linear-gradient(to right, hsl(232, 77%, 74%), hsl(232, 77%, 54%))
hex
background-color: #8A97F0;
tailwind
bg-[hsl(232,77%,74%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(232, 77%, 74%, 0.4);
css variable
--color-primary: hsl(232, 77%, 74%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(232, 77%, 74%)?
HEX: #8A97F0 | RGB: rgb(138, 151, 240) | CMYK: 43%, 37%, 0%, 6% | HSV: 232°, 43%, 94%. Copy any format from the conversion table above.
What colors go well with #8A97F0?
The complementary color is HSL(52, 77%, 74%). For a triadic harmony, use hues 232°, 352°, and 112°. For analogous combinations, try hues 202° and 262°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(232, 77%, 74%) in CSS?
As HSL: color: hsl(232, 77%, 74%); — As HEX: color: #8A97F0; — As RGB: color: rgb(138, 151, 240); — Tailwind CSS: bg-[hsl(232,77%,74%)] — CSS variable: --color-primary: hsl(232, 77%, 74%);