HSL(202, 16%, 15%)

Blue — Blue color

Adjust Color

Color Information

Color Name

Blue

Color Family

Blue

Warm / Cool

🔵 Cool

Temperature

N/A

CSS Class

bg-[hsl(202,16%,15%)]

Color Conversions

Format Value CSS Usage
HSL hsl(202, 16%, 15%) color: hsl(202, 16%, 15%)
HEX #20282C color: #20282C
RGB rgb(32, 40, 44) color: rgb(32, 40, 44)
CMYK cmyk(27%, 9%, 0%, 83%)
HSV hsv(200, 27%, 17%)
HWB hwb(200 12% 83%) color: hwb(200 12% 83%)
OKLCH oklch(0.2708 0.0135 229.52) color: oklch(0.2708 0.0135 229.52)
Lab lab(15.52 -2.37 -3.79) color: lab(15.52 -2.37 -3.79)
LCH lch(15.52 4.47 237.98) color: lch(15.52 4.47 237.98)

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.99: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)

#23242B — rgb(35, 36, 43)

Deuteranopia (Green-blind)

#23222B — rgb(35, 34, 43)

Tritanopia (Blue-blind)

#202A2A — rgb(32, 42, 42)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(202, 16%, 15%);

text

color: hsl(202, 16%, 15%);

border

border: 2px solid hsl(202, 16%, 15%);

gradient light

background: linear-gradient(to right, hsl(202, 16%, 35%), hsl(202, 16%, 15%));

gradient dark

background: linear-gradient(to right, hsl(202, 16%, 15%), hsl(202, 16%, 0%))

hex

background-color: #20282C;

tailwind

bg-[hsl(202,16%,15%)]

box shadow

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

css variable

--color-primary: hsl(202, 16%, 15%);

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(202, 16%, 15%)?

HEX: #20282C | RGB: rgb(32, 40, 44) | CMYK: 27%, 9%, 0%, 83% | HSV: 200°, 27%, 17%. Copy any format from the conversion table above.

What colors go well with #20282C?

The complementary color is HSL(22, 16%, 15%). For a triadic harmony, use hues 202°, 322°, and 82°. For analogous combinations, try hues 172° and 232°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(202, 16%, 15%) in CSS?

As HSL: color: hsl(202, 16%, 15%); — As HEX: color: #20282C; — As RGB: color: rgb(32, 40, 44); — Tailwind CSS: bg-[hsl(202,16%,15%)] — CSS variable: --color-primary: hsl(202, 16%, 15%);