HSL(233, 26%, 43%)

Blue — Blue color

Adjust Color

Color Information

Color Name

Blue

Color Family

Blue

Warm / Cool

🔵 Cool

Temperature

9000K

CSS Class

bg-[hsl(233,26%,43%)]

Color Conversions

Format Value CSS Usage
HSL hsl(233, 26%, 43%) color: hsl(233, 26%, 43%)
HEX #51588A color: #51588A
RGB rgb(81, 88, 138) color: rgb(81, 88, 138)
CMYK cmyk(41%, 36%, 0%, 46%)
HSV hsv(233, 41%, 54%)
HWB hwb(233 32% 46%) color: hwb(233 32% 46%)
OKLCH oklch(0.4767 0.081 276.79) color: oklch(0.4767 0.081 276.79)
Lab lab(38.83 10.72 -28.7) color: lab(38.83 10.72 -28.7)
LCH lch(38.83 30.64 290.48) color: lch(38.83 30.64 290.48)

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 6.75:1
vs Black 3.11: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)

#54547E — rgb(84, 84, 126)

Deuteranopia (Green-blind)

#54537B — rgb(84, 83, 123)

Tritanopia (Blue-blind)

#517472 — rgb(81, 116, 114)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(233, 26%, 43%);

text

color: hsl(233, 26%, 43%);

border

border: 2px solid hsl(233, 26%, 43%);

gradient light

background: linear-gradient(to right, hsl(233, 26%, 63%), hsl(233, 26%, 43%));

gradient dark

background: linear-gradient(to right, hsl(233, 26%, 43%), hsl(233, 26%, 23%))

hex

background-color: #51588A;

tailwind

bg-[hsl(233,26%,43%)]

box shadow

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

css variable

--color-primary: hsl(233, 26%, 43%);

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, 26%, 43%)?

HEX: #51588A | RGB: rgb(81, 88, 138) | CMYK: 41%, 36%, 0%, 46% | HSV: 233°, 41%, 54%. Copy any format from the conversion table above.

What colors go well with #51588A?

The complementary color is HSL(53, 26%, 43%). 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, 26%, 43%) in CSS?

As HSL: color: hsl(233, 26%, 43%); — As HEX: color: #51588A; — As RGB: color: rgb(81, 88, 138); — Tailwind CSS: bg-[hsl(233,26%,43%)] — CSS variable: --color-primary: hsl(233, 26%, 43%);