HSL(234, 30%, 19%)

Blue — Blue color

Adjust Color

Color Information

Color Name

Blue

Color Family

Blue

Warm / Cool

🔵 Cool

Temperature

9000K

CSS Class

bg-[hsl(234,30%,19%)]

Color Conversions

Format Value CSS Usage
HSL hsl(234, 30%, 19%) color: hsl(234, 30%, 19%)
HEX #22253F color: #22253F
RGB rgb(34, 37, 63) color: rgb(34, 37, 63)
CMYK cmyk(46%, 41%, 0%, 75%)
HSV hsv(234, 46%, 25%)
HWB hwb(234 14% 75%) color: hwb(234 14% 75%)
OKLCH oklch(0.2749 0.0482 277.71) color: oklch(0.2749 0.0482 277.71)
Lab lab(15.6 6.67 -17.01) color: lab(15.6 6.67 -17.01)
LCH lch(15.6 18.27 291.41) color: lch(15.6 18.27 291.41)

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)

#232339 — rgb(35, 35, 57)

Deuteranopia (Green-blind)

#232337 — rgb(35, 35, 55)

Tritanopia (Blue-blind)

#223433 — rgb(34, 52, 51)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(234, 30%, 19%);

text

color: hsl(234, 30%, 19%);

border

border: 2px solid hsl(234, 30%, 19%);

gradient light

background: linear-gradient(to right, hsl(234, 30%, 39%), hsl(234, 30%, 19%));

gradient dark

background: linear-gradient(to right, hsl(234, 30%, 19%), hsl(234, 30%, 0%))

hex

background-color: #22253F;

tailwind

bg-[hsl(234,30%,19%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(234, 30%, 19%, 0.4);

css variable

--color-primary: hsl(234, 30%, 19%);

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(234, 30%, 19%)?

HEX: #22253F | RGB: rgb(34, 37, 63) | CMYK: 46%, 41%, 0%, 75% | HSV: 234°, 46%, 25%. Copy any format from the conversion table above.

What colors go well with #22253F?

The complementary color is HSL(54, 30%, 19%). For a triadic harmony, use hues 234°, 354°, and 114°. For analogous combinations, try hues 204° and 264°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(234, 30%, 19%) in CSS?

As HSL: color: hsl(234, 30%, 19%); — As HEX: color: #22253F; — As RGB: color: rgb(34, 37, 63); — Tailwind CSS: bg-[hsl(234,30%,19%)] — CSS variable: --color-primary: hsl(234, 30%, 19%);