HSL(230, 74%, 70%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(230,74%,70%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(230, 74%, 70%) | color: hsl(230, 74%, 70%) | |
| HEX | #7A8DEB | color: #7A8DEB | |
| RGB | rgb(122, 141, 235) | color: rgb(122, 141, 235) | |
| CMYK | cmyk(48%, 40%, 0%, 8%) | — | |
| HSV | hsv(230, 48%, 92%) | — | |
| HWB | hwb(230 48% 8%) | color: hwb(230 48% 8%) | |
| OKLCH | oklch(0.67 0.1407 273.4) | color: oklch(0.67 0.1407 273.4) | |
| Lab | lab(60.94 18.13 -49.67) | color: lab(60.94 18.13 -49.67) | |
| LCH | lch(60.94 52.88 290.05) | color: lch(60.94 52.88 290.05) |
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)
#8282D4 — rgb(130, 130, 212)
Deuteranopia (Green-blind)
#8180CF — rgb(129, 128, 207)
Tritanopia (Blue-blind)
#7BC2BE — rgb(123, 194, 190)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(230, 74%, 70%);
text
color: hsl(230, 74%, 70%);
border
border: 2px solid hsl(230, 74%, 70%);
gradient light
background: linear-gradient(to right, hsl(230, 74%, 90%), hsl(230, 74%, 70%));
gradient dark
background: linear-gradient(to right, hsl(230, 74%, 70%), hsl(230, 74%, 50%))
hex
background-color: #7A8DEB;
tailwind
bg-[hsl(230,74%,70%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(230, 74%, 70%, 0.4);
css variable
--color-primary: hsl(230, 74%, 70%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(230, 74%, 70%)?
HEX: #7A8DEB | RGB: rgb(122, 141, 235) | CMYK: 48%, 40%, 0%, 8% | HSV: 230°, 48%, 92%. Copy any format from the conversion table above.
What colors go well with #7A8DEB?
The complementary color is HSL(50, 74%, 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, 74%, 70%) in CSS?
As HSL: color: hsl(230, 74%, 70%); — As HEX: color: #7A8DEB; — As RGB: color: rgb(122, 141, 235); — Tailwind CSS: bg-[hsl(230,74%,70%)] — CSS variable: --color-primary: hsl(230, 74%, 70%);