HSL(235, 23%, 19%)

Blue — Blue color

Adjust Color

Color Information

Color Name

Blue

Color Family

Blue

Warm / Cool

🔵 Cool

Temperature

9000K

CSS Class

bg-[hsl(235,23%,19%)]

Color Conversions

Format Value CSS Usage
HSL hsl(235, 23%, 19%) color: hsl(235, 23%, 19%)
HEX #25273C color: #25273C
RGB rgb(37, 39, 60) color: rgb(37, 39, 60)
CMYK cmyk(38%, 35%, 0%, 76%)
HSV hsv(235, 38%, 24%)
HWB hwb(235 15% 76%) color: hwb(235 15% 76%)
OKLCH oklch(0.2809 0.0387 279.4) color: oklch(0.2809 0.0387 279.4)
Lab lab(16.36 5.23 -13.72) color: lab(16.36 5.23 -13.72)
LCH lch(16.36 14.68 290.87) color: lch(16.36 14.68 290.87)

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.64:1
vs Black 1.43: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)

#262637 — rgb(38, 38, 55)

Deuteranopia (Green-blind)

#262636 — rgb(38, 38, 54)

Tritanopia (Blue-blind)

#253332 — rgb(37, 51, 50)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(235, 23%, 19%);

text

color: hsl(235, 23%, 19%);

border

border: 2px solid hsl(235, 23%, 19%);

gradient light

background: linear-gradient(to right, hsl(235, 23%, 39%), hsl(235, 23%, 19%));

gradient dark

background: linear-gradient(to right, hsl(235, 23%, 19%), hsl(235, 23%, 0%))

hex

background-color: #25273C;

tailwind

bg-[hsl(235,23%,19%)]

box shadow

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

css variable

--color-primary: hsl(235, 23%, 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(235, 23%, 19%)?

HEX: #25273C | RGB: rgb(37, 39, 60) | CMYK: 38%, 35%, 0%, 76% | HSV: 235°, 38%, 24%. Copy any format from the conversion table above.

What colors go well with #25273C?

The complementary color is HSL(55, 23%, 19%). For a triadic harmony, use hues 235°, 355°, and 115°. For analogous combinations, try hues 205° and 265°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(235, 23%, 19%) in CSS?

As HSL: color: hsl(235, 23%, 19%); — As HEX: color: #25273C; — As RGB: color: rgb(37, 39, 60); — Tailwind CSS: bg-[hsl(235,23%,19%)] — CSS variable: --color-primary: hsl(235, 23%, 19%);