HSL(231, 91%, 68%)

Blue — Blue color

Adjust Color

Color Information

Color Name

Blue

Color Family

Blue

Warm / Cool

🔵 Cool

Temperature

9000K

CSS Class

bg-[hsl(231,91%,68%)]

Color Conversions

Format Value CSS Usage
HSL hsl(231, 91%, 68%) color: hsl(231, 91%, 68%)
HEX #6379F8 color: #6379F8
RGB rgb(99, 121, 248) color: rgb(99, 121, 248)
CMYK cmyk(60%, 51%, 0%, 3%)
HSV hsv(231, 60%, 97%)
HWB hwb(231 39% 3%) color: hwb(231 39% 3%)
OKLCH oklch(0.6248 0.1898 272.36) color: oklch(0.6248 0.1898 272.36)
Lab lab(55.18 29.5 -66.17) color: lab(55.18 29.5 -66.17)
LCH lch(55.18 72.45 294.03) color: lch(55.18 72.45 294.03)

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.74:1
vs Black 5.62: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)

#6D6DD9 — rgb(109, 109, 217)

Deuteranopia (Green-blind)

#6B6AD2 — rgb(107, 106, 210)

Tritanopia (Blue-blind)

#64C1BC — rgb(100, 193, 188)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(231, 91%, 68%);

text

color: hsl(231, 91%, 68%);

border

border: 2px solid hsl(231, 91%, 68%);

gradient light

background: linear-gradient(to right, hsl(231, 91%, 88%), hsl(231, 91%, 68%));

gradient dark

background: linear-gradient(to right, hsl(231, 91%, 68%), hsl(231, 91%, 48%))

hex

background-color: #6379F8;

tailwind

bg-[hsl(231,91%,68%)]

box shadow

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

css variable

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

HEX: #6379F8 | RGB: rgb(99, 121, 248) | CMYK: 60%, 51%, 0%, 3% | HSV: 231°, 60%, 97%. Copy any format from the conversion table above.

What colors go well with #6379F8?

The complementary color is HSL(51, 91%, 68%). For a triadic harmony, use hues 231°, 351°, and 111°. For analogous combinations, try hues 201° and 261°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(231, 91%, 68%) in CSS?

As HSL: color: hsl(231, 91%, 68%); — As HEX: color: #6379F8; — As RGB: color: rgb(99, 121, 248); — Tailwind CSS: bg-[hsl(231,91%,68%)] — CSS variable: --color-primary: hsl(231, 91%, 68%);