HSL(230, 82%, 71%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(230,82%,71%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(230, 82%, 71%) | color: hsl(230, 82%, 71%) | |
| HEX | #788DF2 | color: #788DF2 | |
| RGB | rgb(120, 141, 242) | color: rgb(120, 141, 242) | |
| CMYK | cmyk(50%, 42%, 0%, 5%) | — | |
| HSV | hsv(230, 50%, 95%) | — | |
| HWB | hwb(230 48% 5%) | color: hwb(230 48% 5%) | |
| OKLCH | oklch(0.6726 0.151 272.87) | color: oklch(0.6726 0.151 272.87) | |
| Lab | lab(61.18 19.79 -53.17) | color: lab(61.18 19.79 -53.17) | |
| LCH | lch(61.18 56.73 290.42) | color: lch(61.18 56.73 290.42) |
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)
#8181DA — rgb(129, 129, 218)
Deuteranopia (Green-blind)
#807ED4 — rgb(128, 126, 212)
Tritanopia (Blue-blind)
#79C6C2 — rgb(121, 198, 194)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(230, 82%, 71%);
text
color: hsl(230, 82%, 71%);
border
border: 2px solid hsl(230, 82%, 71%);
gradient light
background: linear-gradient(to right, hsl(230, 82%, 91%), hsl(230, 82%, 71%));
gradient dark
background: linear-gradient(to right, hsl(230, 82%, 71%), hsl(230, 82%, 51%))
hex
background-color: #788DF2;
tailwind
bg-[hsl(230,82%,71%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(230, 82%, 71%, 0.4);
css variable
--color-primary: hsl(230, 82%, 71%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(230, 82%, 71%)?
HEX: #788DF2 | RGB: rgb(120, 141, 242) | CMYK: 50%, 42%, 0%, 5% | HSV: 230°, 50%, 95%. Copy any format from the conversion table above.
What colors go well with #788DF2?
The complementary color is HSL(50, 82%, 71%). For a triadic harmony, use hues 230°, 350°, and 110°. For analogous combinations, try hues 200° and 260°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(230, 82%, 71%) in CSS?
As HSL: color: hsl(230, 82%, 71%); — As HEX: color: #788DF2; — As RGB: color: rgb(120, 141, 242); — Tailwind CSS: bg-[hsl(230,82%,71%)] — CSS variable: --color-primary: hsl(230, 82%, 71%);