HSL(243, 42%, 22%)

Blue — Blue color

Adjust Color

Color Information

Color Name

Blue

Color Family

Blue

Warm / Cool

🔵 Cool

Temperature

9000K

CSS Class

bg-[hsl(243,42%,22%)]

Color Conversions

Format Value CSS Usage
HSL hsl(243, 42%, 22%) color: hsl(243, 42%, 22%)
HEX #232150 color: #232150
RGB rgb(35, 33, 80) color: rgb(35, 33, 80)
CMYK cmyk(56%, 59%, 0%, 69%)
HSV hsv(243, 59%, 31%)
HWB hwb(243 13% 69%) color: hwb(243 13% 69%)
OKLCH oklch(0.2789 0.0836 281.42) color: oklch(0.2789 0.0836 281.42)
Lab lab(15.61 16.01 -28.69) color: lab(15.61 16.01 -28.69)
LCH lch(15.61 32.85 299.16) color: lch(15.61 32.85 299.16)

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 14.95:1
vs Black 1.4: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)

#222245 — rgb(34, 34, 69)

Deuteranopia (Green-blind)

#222242 — rgb(34, 34, 66)

Tritanopia (Blue-blind)

#233C3A — rgb(35, 60, 58)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(243, 42%, 22%);

text

color: hsl(243, 42%, 22%);

border

border: 2px solid hsl(243, 42%, 22%);

gradient light

background: linear-gradient(to right, hsl(243, 42%, 42%), hsl(243, 42%, 22%));

gradient dark

background: linear-gradient(to right, hsl(243, 42%, 22%), hsl(243, 42%, 2%))

hex

background-color: #232150;

tailwind

bg-[hsl(243,42%,22%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(243, 42%, 22%, 0.4);

css variable

--color-primary: hsl(243, 42%, 22%);

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(243, 42%, 22%)?

HEX: #232150 | RGB: rgb(35, 33, 80) | CMYK: 56%, 59%, 0%, 69% | HSV: 243°, 59%, 31%. Copy any format from the conversion table above.

What colors go well with #232150?

The complementary color is HSL(63, 42%, 22%). For a triadic harmony, use hues 243°, 3°, and 123°. For analogous combinations, try hues 213° and 273°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(243, 42%, 22%) in CSS?

As HSL: color: hsl(243, 42%, 22%); — As HEX: color: #232150; — As RGB: color: rgb(35, 33, 80); — Tailwind CSS: bg-[hsl(243,42%,22%)] — CSS variable: --color-primary: hsl(243, 42%, 22%);