HSL(230, 4%, 40%)

Grayish Gray — Gray color

Adjust Color

Color Information

Color Name

Grayish Gray

Color Family

Gray

Warm / Cool

🔵 Cool

Temperature

N/A

CSS Class

bg-[hsl(230,4%,40%)]

Color Conversions

Format Value CSS Usage
HSL hsl(230, 4%, 40%) color: hsl(230, 4%, 40%)
HEX #62636A color: #62636A
RGB rgb(98, 99, 106) color: rgb(98, 99, 106)
CMYK cmyk(8%, 7%, 0%, 58%)
HSV hsv(233, 8%, 42%)
HWB hwb(233 39% 58%) color: hwb(233 39% 58%)
OKLCH oklch(0.5012 0.0111 279.49) color: oklch(0.5012 0.0111 279.49)
Lab lab(42.09 1.12 -4.09) color: lab(42.09 1.12 -4.09)
LCH lch(42.09 4.24 285.31) color: lch(42.09 4.24 285.31)

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 5.98:1
vs Black 3.51:1

AA Normal (4.5:1)

on White: PASS ✓ on Black: FAIL ✗

AA Large (3:1)

on White: PASS ✓ on Black: PASS ✓

AAA Normal (7:1)

on White: FAIL ✗

Best text on this color: white

Color Blindness Simulation

Protanopia (Red-blind)

#626268 — rgb(98, 98, 104)

Deuteranopia (Green-blind)

#626268 — rgb(98, 98, 104)

Tritanopia (Blue-blind)

#626767 — rgb(98, 103, 103)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(230, 4%, 40%);

text

color: hsl(230, 4%, 40%);

border

border: 2px solid hsl(230, 4%, 40%);

gradient light

background: linear-gradient(to right, hsl(230, 4%, 60%), hsl(230, 4%, 40%));

gradient dark

background: linear-gradient(to right, hsl(230, 4%, 40%), hsl(230, 4%, 20%))

hex

background-color: #62636A;

tailwind

bg-[hsl(230,4%,40%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(230, 4%, 40%, 0.4);

css variable

--color-primary: hsl(230, 4%, 40%);

Related Colors

Use Cases for Grayish Gray

Neutral backgrounds Body text Borders Secondary buttons Disabled states

Frequently Asked Questions

What are all the color codes for HSL(230, 4%, 40%)?

HEX: #62636A | RGB: rgb(98, 99, 106) | CMYK: 8%, 7%, 0%, 58% | HSV: 233°, 8%, 42%. Copy any format from the conversion table above.

What colors go well with #62636A?

The complementary color is HSL(50, 4%, 40%). For a triadic harmony, use hues 230°, 350°, and 110°. For analogous combinations, try hues 200° and 260°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(230, 4%, 40%) in CSS?

As HSL: color: hsl(230, 4%, 40%); — As HEX: color: #62636A; — As RGB: color: rgb(98, 99, 106); — Tailwind CSS: bg-[hsl(230,4%,40%)] — CSS variable: --color-primary: hsl(230, 4%, 40%);