HSL(230, 77%, 70%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(230,77%,70%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(230, 77%, 70%) | color: hsl(230, 77%, 70%) | |
| HEX | #788BED | color: #788BED | |
| RGB | rgb(120, 139, 237) | color: rgb(120, 139, 237) | |
| CMYK | cmyk(49%, 41%, 0%, 7%) | — | |
| HSV | hsv(230, 49%, 93%) | — | |
| HWB | hwb(230 47% 7%) | color: hwb(230 47% 7%) | |
| OKLCH | oklch(0.6658 0.1466 273.51) | color: oklch(0.6658 0.1466 273.51) | |
| Lab | lab(60.4 19.46 -51.65) | color: lab(60.4 19.46 -51.65) | |
| LCH | lch(60.4 55.19 290.64) | color: lch(60.4 55.19 290.64) |
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)
#8080D5 — rgb(128, 128, 213)
Deuteranopia (Green-blind)
#7F7ED0 — rgb(127, 126, 208)
Tritanopia (Blue-blind)
#79C3BE — rgb(121, 195, 190)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(230, 77%, 70%);
text
color: hsl(230, 77%, 70%);
border
border: 2px solid hsl(230, 77%, 70%);
gradient light
background: linear-gradient(to right, hsl(230, 77%, 90%), hsl(230, 77%, 70%));
gradient dark
background: linear-gradient(to right, hsl(230, 77%, 70%), hsl(230, 77%, 50%))
hex
background-color: #788BED;
tailwind
bg-[hsl(230,77%,70%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(230, 77%, 70%, 0.4);
css variable
--color-primary: hsl(230, 77%, 70%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(230, 77%, 70%)?
HEX: #788BED | RGB: rgb(120, 139, 237) | CMYK: 49%, 41%, 0%, 7% | HSV: 230°, 49%, 93%. Copy any format from the conversion table above.
What colors go well with #788BED?
The complementary color is HSL(50, 77%, 70%). 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, 77%, 70%) in CSS?
As HSL: color: hsl(230, 77%, 70%); — As HEX: color: #788BED; — As RGB: color: rgb(120, 139, 237); — Tailwind CSS: bg-[hsl(230,77%,70%)] — CSS variable: --color-primary: hsl(230, 77%, 70%);