HSL(245, 80%, 70%)

Blue — Blue color

Adjust Color

Color Information

Color Name

Blue

Color Family

Blue

Warm / Cool

🔵 Cool

Temperature

9000K

CSS Class

bg-[hsl(245,80%,70%)]

Color Conversions

Format Value CSS Usage
HSL hsl(245, 80%, 70%) color: hsl(245, 80%, 70%)
HEX #8075F0 color: #8075F0
RGB rgb(128, 117, 240) color: rgb(128, 117, 240)
CMYK cmyk(47%, 51%, 0%, 6%)
HSV hsv(245, 51%, 94%)
HWB hwb(245 46% 6%) color: hwb(245 46% 6%)
OKLCH oklch(0.6321 0.1785 284.1) color: oklch(0.6321 0.1785 284.1)
Lab lab(55.69 35.13 -60.81) color: lab(55.69 35.13 -60.81)
LCH lch(55.69 70.23 300.02) color: lch(55.69 70.23 300.02)

Color Theory

Complementary

Triadic

Analogous

Tetradic (Square)

Split-Complementary

Accessibility (WCAG)

White text on color

Black text on color

Color on white bg

Colored text

Contrast Ratios

vs White 3.67:1
vs Black 5.72:1

AA Normal (4.5:1)

on White: FAIL ✗ on Black: PASS ✓

AA Large (3:1)

on White: PASS ✓ on Black: PASS ✓

AAA Normal (7:1)

on White: FAIL ✗

Best text on this color: black

Color Blindness Simulation

Protanopia (Red-blind)

#7B7BD2 — rgb(123, 123, 210)

Deuteranopia (Green-blind)

#7C7DCB — rgb(124, 125, 203)

Tritanopia (Blue-blind)

#7FBBB6 — rgb(127, 187, 182)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(245, 80%, 70%);

text

color: hsl(245, 80%, 70%);

border

border: 2px solid hsl(245, 80%, 70%);

gradient light

background: linear-gradient(to right, hsl(245, 80%, 90%), hsl(245, 80%, 70%));

gradient dark

background: linear-gradient(to right, hsl(245, 80%, 70%), hsl(245, 80%, 50%))

hex

background-color: #8075F0;

tailwind

bg-[hsl(245,80%,70%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(245, 80%, 70%, 0.4);

css variable

--color-primary: hsl(245, 80%, 70%);

Related Colors

Use Cases for Blue

Corporate branding Trust signals Tech products Social media Primary buttons

Frequently Asked Questions

What are all the color codes for HSL(245, 80%, 70%)?

HEX: #8075F0 | RGB: rgb(128, 117, 240) | CMYK: 47%, 51%, 0%, 6% | HSV: 245°, 51%, 94%. Copy any format from the conversion table above.

What colors go well with #8075F0?

The complementary color is HSL(65, 80%, 70%). For a triadic harmony, use hues 245°, 5°, and 125°. For analogous combinations, try hues 215° and 275°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(245, 80%, 70%) in CSS?

As HSL: color: hsl(245, 80%, 70%); — As HEX: color: #8075F0; — As RGB: color: rgb(128, 117, 240); — Tailwind CSS: bg-[hsl(245,80%,70%)] — CSS variable: --color-primary: hsl(245, 80%, 70%);