HSL(232, 48%, 66%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(232,48%,66%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(232, 48%, 66%) | color: hsl(232, 48%, 66%) | |
| HEX | #7F8AD2 | color: #7F8AD2 | |
| RGB | rgb(127, 138, 210) | color: rgb(127, 138, 210) | |
| CMYK | cmyk(40%, 34%, 0%, 18%) | — | |
| HSV | hsv(232, 40%, 82%) | — | |
| HWB | hwb(232 49% 18%) | color: hwb(232 49% 18%) | |
| OKLCH | oklch(0.6542 0.108 276.36) | color: oklch(0.6542 0.108 276.36) | |
| Lab | lab(59.29 13.9 -38.32) | color: lab(59.29 13.9 -38.32) | |
| LCH | lch(59.29 40.76 289.94) | color: lch(59.29 40.76 289.94) |
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)
#8484C1 — rgb(132, 132, 193)
Deuteranopia (Green-blind)
#8382BC — rgb(131, 130, 188)
Tritanopia (Blue-blind)
#80B3B0 — rgb(128, 179, 176)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(232, 48%, 66%);
text
color: hsl(232, 48%, 66%);
border
border: 2px solid hsl(232, 48%, 66%);
gradient light
background: linear-gradient(to right, hsl(232, 48%, 86%), hsl(232, 48%, 66%));
gradient dark
background: linear-gradient(to right, hsl(232, 48%, 66%), hsl(232, 48%, 46%))
hex
background-color: #7F8AD2;
tailwind
bg-[hsl(232,48%,66%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(232, 48%, 66%, 0.4);
css variable
--color-primary: hsl(232, 48%, 66%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(232, 48%, 66%)?
HEX: #7F8AD2 | RGB: rgb(127, 138, 210) | CMYK: 40%, 34%, 0%, 18% | HSV: 232°, 40%, 82%. Copy any format from the conversion table above.
What colors go well with #7F8AD2?
The complementary color is HSL(52, 48%, 66%). 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, 48%, 66%) in CSS?
As HSL: color: hsl(232, 48%, 66%); — As HEX: color: #7F8AD2; — As RGB: color: rgb(127, 138, 210); — Tailwind CSS: bg-[hsl(232,48%,66%)] — CSS variable: --color-primary: hsl(232, 48%, 66%);