HSL(220, 80%, 68%)

Blue — Blue color

Adjust Color

Color Information

Color Name

Blue

Color Family

Blue

Warm / Cool

🔵 Cool

Temperature

9000K

CSS Class

bg-[hsl(220,80%,68%)]

Color Conversions

Format Value CSS Usage
HSL hsl(220, 80%, 68%) color: hsl(220, 80%, 68%)
HEX #6C98EF color: #6C98EF
RGB rgb(108, 152, 239) color: rgb(108, 152, 239)
CMYK cmyk(55%, 36%, 0%, 6%)
HSV hsv(220, 55%, 94%)
HWB hwb(220 42% 6%) color: hwb(220 42% 6%)
OKLCH oklch(0.6862 0.1377 262.93) color: oklch(0.6862 0.1377 262.93)
Lab lab(63.24 9.83 -48.3) color: lab(63.24 9.83 -48.3)
LCH lch(63.24 49.29 281.5) color: lch(63.24 49.29 281.5)

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 2.85:1
vs Black 7.38:1

AA Normal (4.5:1)

on White: FAIL ✗ on Black: PASS ✓

AA Large (3:1)

on White: FAIL ✗ on Black: PASS ✓

AAA Normal (7:1)

on White: FAIL ✗

Best text on this color: black

Color Blindness Simulation

Protanopia (Red-blind)

#7F7FDA — rgb(127, 127, 218)

Deuteranopia (Green-blind)

#7D79D5 — rgb(125, 121, 213)

Tritanopia (Blue-blind)

#6EC9C6 — rgb(110, 201, 198)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(220, 80%, 68%);

text

color: hsl(220, 80%, 68%);

border

border: 2px solid hsl(220, 80%, 68%);

gradient light

background: linear-gradient(to right, hsl(220, 80%, 88%), hsl(220, 80%, 68%));

gradient dark

background: linear-gradient(to right, hsl(220, 80%, 68%), hsl(220, 80%, 48%))

hex

background-color: #6C98EF;

tailwind

bg-[hsl(220,80%,68%)]

box shadow

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

css variable

--color-primary: hsl(220, 80%, 68%);

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(220, 80%, 68%)?

HEX: #6C98EF | RGB: rgb(108, 152, 239) | CMYK: 55%, 36%, 0%, 6% | HSV: 220°, 55%, 94%. Copy any format from the conversion table above.

What colors go well with #6C98EF?

The complementary color is HSL(40, 80%, 68%). For a triadic harmony, use hues 220°, 340°, and 100°. For analogous combinations, try hues 190° and 250°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(220, 80%, 68%) in CSS?

As HSL: color: hsl(220, 80%, 68%); — As HEX: color: #6C98EF; — As RGB: color: rgb(108, 152, 239); — Tailwind CSS: bg-[hsl(220,80%,68%)] — CSS variable: --color-primary: hsl(220, 80%, 68%);