HSL(230, 23%, 45%)

Blue — Blue color

Adjust Color

Color Information

Color Name

Blue

Color Family

Blue

Warm / Cool

🔵 Cool

Temperature

9000K

CSS Class

bg-[hsl(230,23%,45%)]

Color Conversions

Format Value CSS Usage
HSL hsl(230, 23%, 45%) color: hsl(230, 23%, 45%)
HEX #58618D color: #58618D
RGB rgb(88, 97, 141) color: rgb(88, 97, 141)
CMYK cmyk(38%, 31%, 0%, 45%)
HSV hsv(230, 38%, 55%)
HWB hwb(230 34% 45%) color: hwb(230 34% 45%)
OKLCH oklch(0.5035 0.0711 274.71) color: oklch(0.5035 0.0711 274.71)
Lab lab(42.07 8 -25.41) color: lab(42.07 8 -25.41)
LCH lch(42.07 26.64 287.48) color: lch(42.07 26.64 287.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 5.98:1
vs Black 3.51: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)

#5C5C82 — rgb(92, 92, 130)

Deuteranopia (Green-blind)

#5B5B80 — rgb(91, 91, 128)

Tritanopia (Blue-blind)

#587A78 — rgb(88, 122, 120)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(230, 23%, 45%);

text

color: hsl(230, 23%, 45%);

border

border: 2px solid hsl(230, 23%, 45%);

gradient light

background: linear-gradient(to right, hsl(230, 23%, 65%), hsl(230, 23%, 45%));

gradient dark

background: linear-gradient(to right, hsl(230, 23%, 45%), hsl(230, 23%, 25%))

hex

background-color: #58618D;

tailwind

bg-[hsl(230,23%,45%)]

box shadow

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

css variable

--color-primary: hsl(230, 23%, 45%);

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, 23%, 45%)?

HEX: #58618D | RGB: rgb(88, 97, 141) | CMYK: 38%, 31%, 0%, 45% | HSV: 230°, 38%, 55%. Copy any format from the conversion table above.

What colors go well with #58618D?

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

As HSL: color: hsl(230, 23%, 45%); — As HEX: color: #58618D; — As RGB: color: rgb(88, 97, 141); — Tailwind CSS: bg-[hsl(230,23%,45%)] — CSS variable: --color-primary: hsl(230, 23%, 45%);