HSL(230, 81%, 68%)

Blue — Blue color

Adjust Color

Color Information

Color Name

Blue

Color Family

Blue

Warm / Cool

🔵 Cool

Temperature

9000K

CSS Class

bg-[hsl(230,81%,68%)]

Color Conversions

Format Value CSS Usage
HSL hsl(230, 81%, 68%) color: hsl(230, 81%, 68%)
HEX #6B81EF color: #6B81EF
RGB rgb(107, 129, 239) color: rgb(107, 129, 239)
CMYK cmyk(55%, 46%, 0%, 6%)
HSV hsv(230, 55%, 94%)
HWB hwb(230 42% 6%) color: hwb(230 42% 6%)
OKLCH oklch(0.6391 0.1655 272.41) color: oklch(0.6391 0.1655 272.41)
Lab lab(57.13 23.27 -58.02) color: lab(57.13 23.27 -58.02)
LCH lch(57.13 62.51 291.85) color: lch(57.13 62.51 291.85)

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.49:1
vs Black 6.01: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)

#7575D4 — rgb(117, 117, 212)

Deuteranopia (Green-blind)

#7372CE — rgb(115, 114, 206)

Tritanopia (Blue-blind)

#6CBFBB — rgb(108, 191, 187)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(230, 81%, 68%);

text

color: hsl(230, 81%, 68%);

border

border: 2px solid hsl(230, 81%, 68%);

gradient light

background: linear-gradient(to right, hsl(230, 81%, 88%), hsl(230, 81%, 68%));

gradient dark

background: linear-gradient(to right, hsl(230, 81%, 68%), hsl(230, 81%, 48%))

hex

background-color: #6B81EF;

tailwind

bg-[hsl(230,81%,68%)]

box shadow

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

css variable

--color-primary: hsl(230, 81%, 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(230, 81%, 68%)?

HEX: #6B81EF | RGB: rgb(107, 129, 239) | CMYK: 55%, 46%, 0%, 6% | HSV: 230°, 55%, 94%. Copy any format from the conversion table above.

What colors go well with #6B81EF?

The complementary color is HSL(50, 81%, 68%). 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, 81%, 68%) in CSS?

As HSL: color: hsl(230, 81%, 68%); — As HEX: color: #6B81EF; — As RGB: color: rgb(107, 129, 239); — Tailwind CSS: bg-[hsl(230,81%,68%)] — CSS variable: --color-primary: hsl(230, 81%, 68%);