HSL(231, 60%, 35%)

Blue — Blue color

Adjust Color

Color Information

Color Name

Blue

Color Family

Blue

Warm / Cool

🔵 Cool

Temperature

9000K

CSS Class

bg-[hsl(231,60%,35%)]

Color Conversions

Format Value CSS Usage
HSL hsl(231, 60%, 35%) color: hsl(231, 60%, 35%)
HEX #24348F color: #24348F
RGB rgb(36, 52, 143) color: rgb(36, 52, 143)
CMYK cmyk(75%, 64%, 0%, 44%)
HSV hsv(231, 75%, 56%)
HWB hwb(231 14% 44%) color: hwb(231 14% 44%)
OKLCH oklch(0.3743 0.1508 269.75) color: oklch(0.3743 0.1508 269.75)
Lab lab(26.2 26.82 -52.19) color: lab(26.2 26.82 -52.19)
LCH lch(26.2 58.68 297.2) color: lch(26.2 58.68 297.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 10.7:1
vs Black 1.96:1

AA Normal (4.5:1)

on White: PASS ✓ on Black: FAIL ✗

AA Large (3:1)

on White: PASS ✓ on Black: FAIL ✗

AAA Normal (7:1)

on White: PASS ✓

Best text on this color: white

Color Blindness Simulation

Protanopia (Red-blind)

#2B2B79 — rgb(43, 43, 121)

Deuteranopia (Green-blind)

#2A2974 — rgb(42, 41, 116)

Tritanopia (Blue-blind)

#256864 — rgb(37, 104, 100)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(231, 60%, 35%);

text

color: hsl(231, 60%, 35%);

border

border: 2px solid hsl(231, 60%, 35%);

gradient light

background: linear-gradient(to right, hsl(231, 60%, 55%), hsl(231, 60%, 35%));

gradient dark

background: linear-gradient(to right, hsl(231, 60%, 35%), hsl(231, 60%, 15%))

hex

background-color: #24348F;

tailwind

bg-[hsl(231,60%,35%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(231, 60%, 35%, 0.4);

css variable

--color-primary: hsl(231, 60%, 35%);

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(231, 60%, 35%)?

HEX: #24348F | RGB: rgb(36, 52, 143) | CMYK: 75%, 64%, 0%, 44% | HSV: 231°, 75%, 56%. Copy any format from the conversion table above.

What colors go well with #24348F?

The complementary color is HSL(51, 60%, 35%). For a triadic harmony, use hues 231°, 351°, and 111°. For analogous combinations, try hues 201° and 261°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(231, 60%, 35%) in CSS?

As HSL: color: hsl(231, 60%, 35%); — As HEX: color: #24348F; — As RGB: color: rgb(36, 52, 143); — Tailwind CSS: bg-[hsl(231,60%,35%)] — CSS variable: --color-primary: hsl(231, 60%, 35%);