HSL(248, 44%, 61%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(248,44%,61%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(248, 44%, 61%) | color: hsl(248, 44%, 61%) | |
| HEX | #7B70C7 | color: #7B70C7 | |
| RGB | rgb(123, 112, 199) | color: rgb(123, 112, 199) | |
| CMYK | cmyk(38%, 44%, 0%, 22%) | — | |
| HSV | hsv(248, 44%, 78%) | — | |
| HWB | hwb(248 44% 22%) | color: hwb(248 44% 22%) | |
| OKLCH | oklch(0.594 0.1301 287.55) | color: oklch(0.594 0.1301 287.55) | |
| Lab | lab(51.75 25.18 -43.99) | color: lab(51.75 25.18 -43.99) | |
| LCH | lch(51.75 50.69 299.79) | color: lch(51.75 50.69 299.79) |
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)
#7676B2 — rgb(118, 118, 178)
Deuteranopia (Green-blind)
#7778AD — rgb(119, 120, 173)
Tritanopia (Blue-blind)
#7AA19E — rgb(122, 161, 158)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(248, 44%, 61%);
text
color: hsl(248, 44%, 61%);
border
border: 2px solid hsl(248, 44%, 61%);
gradient light
background: linear-gradient(to right, hsl(248, 44%, 81%), hsl(248, 44%, 61%));
gradient dark
background: linear-gradient(to right, hsl(248, 44%, 61%), hsl(248, 44%, 41%))
hex
background-color: #7B70C7;
tailwind
bg-[hsl(248,44%,61%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(248, 44%, 61%, 0.4);
css variable
--color-primary: hsl(248, 44%, 61%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(248, 44%, 61%)?
HEX: #7B70C7 | RGB: rgb(123, 112, 199) | CMYK: 38%, 44%, 0%, 22% | HSV: 248°, 44%, 78%. Copy any format from the conversion table above.
What colors go well with #7B70C7?
The complementary color is HSL(68, 44%, 61%). For a triadic harmony, use hues 248°, 8°, and 128°. For analogous combinations, try hues 218° and 278°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(248, 44%, 61%) in CSS?
As HSL: color: hsl(248, 44%, 61%); — As HEX: color: #7B70C7; — As RGB: color: rgb(123, 112, 199); — Tailwind CSS: bg-[hsl(248,44%,61%)] — CSS variable: --color-primary: hsl(248, 44%, 61%);