HSL(234, 20%, 64%)

Blue — Blue color

Adjust Color

Color Information

Color Name

Blue

Color Family

Blue

Warm / Cool

🔵 Cool

Temperature

9000K

CSS Class

bg-[hsl(234,20%,64%)]

Color Conversions

Format Value CSS Usage
HSL hsl(234, 20%, 64%) color: hsl(234, 20%, 64%)
HEX #9195B6 color: #9195B6
RGB rgb(145, 149, 182) color: rgb(145, 149, 182)
CMYK cmyk(20%, 18%, 0%, 29%)
HSV hsv(234, 20%, 71%)
HWB hwb(234 57% 29%) color: hwb(234 57% 29%)
OKLCH oklch(0.6781 0.0488 279.58) color: oklch(0.6781 0.0488 279.58)
Lab lab(62.42 5.68 -17.63) color: lab(62.42 5.68 -17.63)
LCH lch(62.42 18.52 287.86) color: lch(62.42 18.52 287.86)

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.93:1
vs Black 7.18: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)

#9393AE — rgb(147, 147, 174)

Deuteranopia (Green-blind)

#9392AC — rgb(147, 146, 172)

Tritanopia (Blue-blind)

#91A8A6 — rgb(145, 168, 166)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(234, 20%, 64%);

text

color: hsl(234, 20%, 64%);

border

border: 2px solid hsl(234, 20%, 64%);

gradient light

background: linear-gradient(to right, hsl(234, 20%, 84%), hsl(234, 20%, 64%));

gradient dark

background: linear-gradient(to right, hsl(234, 20%, 64%), hsl(234, 20%, 44%))

hex

background-color: #9195B6;

tailwind

bg-[hsl(234,20%,64%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(234, 20%, 64%, 0.4);

css variable

--color-primary: hsl(234, 20%, 64%);

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(234, 20%, 64%)?

HEX: #9195B6 | RGB: rgb(145, 149, 182) | CMYK: 20%, 18%, 0%, 29% | HSV: 234°, 20%, 71%. Copy any format from the conversion table above.

What colors go well with #9195B6?

The complementary color is HSL(54, 20%, 64%). For a triadic harmony, use hues 234°, 354°, and 114°. For analogous combinations, try hues 204° and 264°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(234, 20%, 64%) in CSS?

As HSL: color: hsl(234, 20%, 64%); — As HEX: color: #9195B6; — As RGB: color: rgb(145, 149, 182); — Tailwind CSS: bg-[hsl(234,20%,64%)] — CSS variable: --color-primary: hsl(234, 20%, 64%);