HSL(230, 17%, 54%)

Blue — Blue color

Adjust Color

Color Information

Color Name

Blue

Color Family

Blue

Warm / Cool

🔵 Cool

Temperature

N/A

CSS Class

bg-[hsl(230,17%,54%)]

Color Conversions

Format Value CSS Usage
HSL hsl(230, 17%, 54%) color: hsl(230, 17%, 54%)
HEX #767C9E color: #767C9E
RGB rgb(118, 124, 158) color: rgb(118, 124, 158)
CMYK cmyk(25%, 22%, 0%, 38%)
HSV hsv(231, 25%, 62%)
HWB hwb(231 47% 38%) color: hwb(231 47% 38%)
OKLCH oklch(0.5939 0.0524 276.88) color: oklch(0.5939 0.0524 276.88)
Lab lab(52.66 5.6 -18.95) color: lab(52.66 5.6 -18.95)
LCH lch(52.66 19.76 286.46) color: lch(52.66 19.76 286.46)

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 4.08:1
vs Black 5.15: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)

#797996 — rgb(121, 121, 150)

Deuteranopia (Green-blind)

#787894 — rgb(120, 120, 148)

Tritanopia (Blue-blind)

#768F8E — rgb(118, 143, 142)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(230, 17%, 54%);

text

color: hsl(230, 17%, 54%);

border

border: 2px solid hsl(230, 17%, 54%);

gradient light

background: linear-gradient(to right, hsl(230, 17%, 74%), hsl(230, 17%, 54%));

gradient dark

background: linear-gradient(to right, hsl(230, 17%, 54%), hsl(230, 17%, 34%))

hex

background-color: #767C9E;

tailwind

bg-[hsl(230,17%,54%)]

box shadow

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

css variable

--color-primary: hsl(230, 17%, 54%);

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, 17%, 54%)?

HEX: #767C9E | RGB: rgb(118, 124, 158) | CMYK: 25%, 22%, 0%, 38% | HSV: 231°, 25%, 62%. Copy any format from the conversion table above.

What colors go well with #767C9E?

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

As HSL: color: hsl(230, 17%, 54%); — As HEX: color: #767C9E; — As RGB: color: rgb(118, 124, 158); — Tailwind CSS: bg-[hsl(230,17%,54%)] — CSS variable: --color-primary: hsl(230, 17%, 54%);