HSL(168, 10%, 21%)

Grayish Cyan — Cyan color

Adjust Color

Color Information

Color Name

Grayish Cyan

Color Family

Cyan

Warm / Cool

🔵 Cool

Temperature

N/A

CSS Class

bg-[hsl(168,10%,21%)]

Color Conversions

Format Value CSS Usage
HSL hsl(168, 10%, 21%) color: hsl(168, 10%, 21%)
HEX #303B39 color: #303B39
RGB rgb(48, 59, 57) color: rgb(48, 59, 57)
CMYK cmyk(19%, 0%, 3%, 77%)
HSV hsv(169, 19%, 23%)
HWB hwb(169 19% 77%) color: hwb(169 19% 77%)
OKLCH oklch(0.3416 0.015 183.2) color: oklch(0.3416 0.015 183.2)
Lab lab(23.84 -5.05 -0.28) color: lab(23.84 -5.05 -0.28)
LCH lch(23.84 5.06 183.17) color: lch(23.84 5.06 183.17)

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 11.6:1
vs Black 1.81: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)

#353539 — rgb(53, 53, 57)

Deuteranopia (Green-blind)

#34333A — rgb(52, 51, 58)

Tritanopia (Blue-blind)

#313A3A — rgb(49, 58, 58)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(168, 10%, 21%);

text

color: hsl(168, 10%, 21%);

border

border: 2px solid hsl(168, 10%, 21%);

gradient light

background: linear-gradient(to right, hsl(168, 10%, 41%), hsl(168, 10%, 21%));

gradient dark

background: linear-gradient(to right, hsl(168, 10%, 21%), hsl(168, 10%, 1%))

hex

background-color: #303B39;

tailwind

bg-[hsl(168,10%,21%)]

box shadow

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

css variable

--color-primary: hsl(168, 10%, 21%);

Related Colors

Use Cases for Grayish Cyan

Tech/SaaS products Medical apps Water/ocean themes Clean UI elements Data viz

Frequently Asked Questions

What are all the color codes for HSL(168, 10%, 21%)?

HEX: #303B39 | RGB: rgb(48, 59, 57) | CMYK: 19%, 0%, 3%, 77% | HSV: 169°, 19%, 23%. Copy any format from the conversion table above.

What colors go well with #303B39?

The complementary color is HSL(348, 10%, 21%). For a triadic harmony, use hues 168°, 288°, and 48°. For analogous combinations, try hues 138° and 198°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(168, 10%, 21%) in CSS?

As HSL: color: hsl(168, 10%, 21%); — As HEX: color: #303B39; — As RGB: color: rgb(48, 59, 57); — Tailwind CSS: bg-[hsl(168,10%,21%)] — CSS variable: --color-primary: hsl(168, 10%, 21%);