#38333F

Closest named color: Onyx (#343A40). oklch(33.1% 0.022 304.1), rgb(56, 51, 63).

Aa

White text reads best on this color (12.25:1).

About this color

#38333F is a dark close to neutral grey. In OKLCH its lightness is 33%, its chroma 0.022. It has too little chroma to lean warm or cool. The nearest named color is Onyx (#343A40), ΔE 0.023 away. White text reads best on it, at 12.25:1.

Hue familyNeutrals
Lightnessdark (33%)
Chromaclose to neutral grey (0.022)
Temperatureneutral
Nearest nameOnyx (#343A40)
Black text1.71:1
White text12.25:1

Values

HEX#38333F
RGBrgb(56, 51, 63)
HSLhsl(265, 11%, 22%)
OKLCHoklch(33.1% 0.022 304.1)

Contrast

WCAG 2 contrast ratios are the conformance target: AA needs 4.5:1 for body text and 3:1 for large text, AAA needs 7:1. APCA Lc values are supplementary guidance from the WCAG 3 drafts.

PairWCAG 2ResultAPCAAPCA guidance
White text on #38333F 12.25:1 AAA Lc -101.4 Preferred for body text
Black text on #38333F 1.71:1 Fails Lc 0.0 Not readable
#38333F text on white 12.25:1 AAA Lc 98.0 Preferred for body text
#38333F text on black 1.71:1 Fails Lc 0.0 Not readable

Tints and shades

A 50–950 scale built in OKLCH: the hue is held, lightness follows a Tailwind v4-like curve, and every step is kept inside the sRGB gamut. This color sits at step 900.

  1. Step 50

    50

    #F6F5F7

    oklch(97.1% 0.003 308.4)

  2. Step 100

    100

    #EAE9EC

    oklch(93.6% 0.004 301.4)

  3. Step 200

    200

    #DAD8DE

    oklch(88.6% 0.008 301.3)

  4. Step 300

    300

    #C3BEC9

    oklch(80.9% 0.016 306.4)

  5. Step 400

    400

    #A49DAE

    oklch(70.7% 0.026 304.3)

  6. Step 500

    500

    #8E859A

    oklch(63.2% 0.033 304.8)

  7. Step 600

    600

    #786E85

    oklch(55.5% 0.037 304.9)

  8. Step 700

    700

    #655C71

    oklch(49.1% 0.035 304.6)

  9. Step 800

    800

    #524B5C

    oklch(42.6% 0.029 303.9)

  10. Step 900

    900 (this color)

    #38333F

    oklch(33.1% 0.022 304.1)

  11. Step 950

    950

    #28252C

    oklch(27.1% 0.013 304.9)

Export this scale for Tailwind in the Tailwind colors tool

#38333F with color blindness

Simulated with the Machado et al. (2009) model. ΔE is how far the color moves: below about 0.02 you would not notice a change.

VisionSeen asShift (ΔE)
Protanopia (no red cones)#3135400.013
Deuteranopia (no green cones)#32353F0.012
Tritanopia (no blue cones)#3735370.018
Achromatopsia (no color)#3535350.022

Harmonies

Hue rotations in OKLCH that keep this color's lightness and chroma.

Complementary

The opposite hue (180°).

  • #38333F

    #38333F

    oklch(33.1% 0.022 304.1)

  • #33382B

    #33382B

    oklch(33.2% 0.023 124.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #38333F

    #38333F

    oklch(33.1% 0.022 304.1)

  • #323541

    #323541

    oklch(33.1% 0.022 274.1)

  • #3D323A

    #3D323A

    oklch(33.2% 0.021 335.8)

Open the analogous palette in the generator

Split complementary

The two hues beside the complement (150° and 210°).

  • #38333F

    #38333F

    oklch(33.1% 0.022 304.1)

  • #393629

    #393629

    oklch(33.2% 0.022 96.6)

  • #2D3931

    #2D3931

    oklch(33.1% 0.021 155.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #38333F

    #38333F

    oklch(33.1% 0.022 304.1)

  • #3E332A

    #3E332A

    oklch(33% 0.022 61.2)

  • #293937

    #293937

    oklch(33% 0.021 186.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #38333F

    #38333F

    oklch(33.1% 0.022 304.1)

  • #40322E

    #40322E

    oklch(33.1% 0.022 36.5)

  • #33382B

    #33382B

    oklch(33.2% 0.023 124.8)

  • #29393D

    #29393D

    oklch(33.2% 0.022 214.8)

Open the square palette in the generator

Palettes with this color

Curated palettes that contain a color within ΔE 0.04 (OKLab) of #38333F, closest first.

Similar named colors

The eight closest entries in our named color list, with their ΔE distance.

Use #38333F in your product

Turn it into light and dark UI roles checked for contrast, then export to Tailwind v4, shadcn/ui, CSS or design tokens.