HSL(233, 21%, 52%)

Blue — Blue color

Adjust Color

Color Information

Color Name

Blue

Color Family

Blue

Warm / Cool

🔵 Cool

Temperature

9000K

CSS Class

bg-[hsl(233,21%,52%)]

Color Conversions

Format Value CSS Usage
HSL hsl(233, 21%, 52%) color: hsl(233, 21%, 52%)
HEX #6B719E color: #6B719E
RGB rgb(107, 113, 158) color: rgb(107, 113, 158)
CMYK cmyk(32%, 28%, 0%, 38%)
HSV hsv(233, 32%, 62%)
HWB hwb(233 42% 38%) color: hwb(233 42% 38%)
OKLCH oklch(0.5615 0.07 278.03) color: oklch(0.5615 0.07 278.03)
Lab lab(48.77 8.71 -25.01) color: lab(48.77 8.71 -25.01)
LCH lch(48.77 26.48 289.2) color: lch(48.77 26.48 289.2)

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.69:1
vs Black 4.48:1

AA Normal (4.5:1)

on White: PASS ✓ on Black: FAIL ✗

AA Large (3:1)

on White: PASS ✓ on Black: PASS ✓

AAA Normal (7:1)

on White: FAIL ✗

Best text on this color: white

Color Blindness Simulation

Protanopia (Red-blind)

#6E6E93 — rgb(110, 110, 147)

Deuteranopia (Green-blind)

#6D6D91 — rgb(109, 109, 145)

Tritanopia (Blue-blind)

#6B8B89 — rgb(107, 139, 137)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(233, 21%, 52%);

text

color: hsl(233, 21%, 52%);

border

border: 2px solid hsl(233, 21%, 52%);

gradient light

background: linear-gradient(to right, hsl(233, 21%, 72%), hsl(233, 21%, 52%));

gradient dark

background: linear-gradient(to right, hsl(233, 21%, 52%), hsl(233, 21%, 32%))

hex

background-color: #6B719E;

tailwind

bg-[hsl(233,21%,52%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(233, 21%, 52%, 0.4);

css variable

--color-primary: hsl(233, 21%, 52%);

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(233, 21%, 52%)?

HEX: #6B719E | RGB: rgb(107, 113, 158) | CMYK: 32%, 28%, 0%, 38% | HSV: 233°, 32%, 62%. Copy any format from the conversion table above.

What colors go well with #6B719E?

The complementary color is HSL(53, 21%, 52%). For a triadic harmony, use hues 233°, 353°, and 113°. For analogous combinations, try hues 203° and 263°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(233, 21%, 52%) in CSS?

As HSL: color: hsl(233, 21%, 52%); — As HEX: color: #6B719E; — As RGB: color: rgb(107, 113, 158); — Tailwind CSS: bg-[hsl(233,21%,52%)] — CSS variable: --color-primary: hsl(233, 21%, 52%);