HSL(251, 10%, 16%)

Grayish Blue — Blue color

Adjust Color

Color Information

Color Name

Grayish Blue

Color Family

Blue

Warm / Cool

🔵 Cool

Temperature

N/A

CSS Class

bg-[hsl(251,10%,16%)]

Color Conversions

Format Value CSS Usage
HSL hsl(251, 10%, 16%) color: hsl(251, 10%, 16%)
HEX #26252D color: #26252D
RGB rgb(38, 37, 45) color: rgb(38, 37, 45)
CMYK cmyk(16%, 18%, 0%, 82%)
HSV hsv(248, 18%, 18%)
HWB hwb(248 15% 82%) color: hwb(248 15% 82%)
OKLCH oklch(0.2689 0.0148 291.11) color: oklch(0.2689 0.0148 291.11)
Lab lab(15.09 2.52 -5.09) color: lab(15.09 2.52 -5.09)
LCH lch(15.09 5.68 296.34) color: lch(15.09 5.68 296.34)

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 15.16:1
vs Black 1.38: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)

#26262B — rgb(38, 38, 43)

Deuteranopia (Green-blind)

#26262B — rgb(38, 38, 43)

Tritanopia (Blue-blind)

#262A29 — rgb(38, 42, 41)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(251, 10%, 16%);

text

color: hsl(251, 10%, 16%);

border

border: 2px solid hsl(251, 10%, 16%);

gradient light

background: linear-gradient(to right, hsl(251, 10%, 36%), hsl(251, 10%, 16%));

gradient dark

background: linear-gradient(to right, hsl(251, 10%, 16%), hsl(251, 10%, 0%))

hex

background-color: #26252D;

tailwind

bg-[hsl(251,10%,16%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(251, 10%, 16%, 0.4);

css variable

--color-primary: hsl(251, 10%, 16%);

Related Colors

Use Cases for Grayish Blue

Corporate branding Trust signals Tech products Social media Primary buttons

Frequently Asked Questions

What are all the color codes for HSL(251, 10%, 16%)?

HEX: #26252D | RGB: rgb(38, 37, 45) | CMYK: 16%, 18%, 0%, 82% | HSV: 248°, 18%, 18%. Copy any format from the conversion table above.

What colors go well with #26252D?

The complementary color is HSL(71, 10%, 16%). For a triadic harmony, use hues 251°, 11°, and 131°. For analogous combinations, try hues 221° and 281°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(251, 10%, 16%) in CSS?

As HSL: color: hsl(251, 10%, 16%); — As HEX: color: #26252D; — As RGB: color: rgb(38, 37, 45); — Tailwind CSS: bg-[hsl(251,10%,16%)] — CSS variable: --color-primary: hsl(251, 10%, 16%);