#313126

Closest named color: Pakistan Green (#283618). oklch(31% 0.019 107.5), rgb(49, 49, 38).

Aa

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

About this color

#313126 is a dark close to neutral grey. In OKLCH its lightness is 31%, its chroma 0.019. It has too little chroma to lean warm or cool. The nearest named color is Pakistan Green (#283618), ΔE 0.036 away. White text reads best on it, at 13.14:1.

Hue familyNeutrals
Lightnessdark (31%)
Chromaclose to neutral grey (0.019)
Temperatureneutral
Nearest namePakistan Green (#283618)
Black text1.59:1
White text13.14:1

Values

HEX#313126
RGBrgb(49, 49, 38)
HSLhsl(60, 13%, 17%)
OKLCHoklch(31% 0.019 107.5)

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 #313126 13.14:1 AAA Lc -102.7 Preferred for body text
Black text on #313126 1.59:1 Fails Lc 0.0 Not readable
#313126 text on white 13.14:1 AAA Lc 99.5 Preferred for body text
#313126 text on black 1.59: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 950.

  1. Step 50

    50

    #F5F6F3

    oklch(97.2% 0.004 121.6)

  2. Step 100

    100

    #EAEAE5

    oklch(93.6% 0.007 106.5)

  3. Step 200

    200

    #DADAD1

    oklch(88.6% 0.012 106.6)

  4. Step 300

    300

    #C2C2B2

    oklch(81% 0.022 106.9)

  5. Step 400

    400

    #A2A389

    oklch(70.8% 0.037 109.1)

  6. Step 500

    500

    #8C8C6C

    oklch(63.1% 0.046 107.6)

  7. Step 600

    600

    #767654

    oklch(55.7% 0.05 107.9)

  8. Step 700

    700

    #636344

    oklch(49.1% 0.046 108)

  9. Step 800

    800

    #515138

    oklch(42.8% 0.039 107.9)

  10. Step 900

    900

    #434330

    oklch(37.7% 0.031 107.8)

  11. Step 950

    950 (this color)

    #313126

    oklch(31% 0.019 107.5)

Export this scale for Tailwind in the Tailwind colors tool

#313126 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)#3330250.004
Deuteranopia (no green cones)#3331260.004
Tritanopia (no blue cones)#33302E0.016
Achromatopsia (no color)#3030300.019

Harmonies

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

Complementary

The opposite hue (180°).

  • #313126

    #313126

    oklch(31% 0.019 107.5)

  • #2F2F39

    #2F2F39

    oklch(30.9% 0.018 285.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #313126

    #313126

    oklch(31% 0.019 107.5)

  • #362F26

    #362F26

    oklch(31% 0.019 74)

  • #2C3329

    #2C3329

    oklch(31.1% 0.02 136.3)

Open the analogous palette in the generator

Split complementary

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

  • #313126

    #313126

    oklch(31% 0.019 107.5)

  • #2A313A

    #2A313A

    oklch(31% 0.019 254.8)

  • #342D37

    #342D37

    oklch(30.9% 0.02 315.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #313126

    #313126

    oklch(31% 0.019 107.5)

  • #263238

    #263238

    oklch(30.9% 0.019 229.8)

  • #382C32

    #382C32

    oklch(30.9% 0.02 346.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #313126

    #313126

    oklch(31% 0.019 107.5)

  • #253334

    #253334

    oklch(30.9% 0.019 201.7)

  • #2F2F39

    #2F2F39

    oklch(30.9% 0.018 285.3)

  • #392C2D

    #392C2D

    oklch(30.8% 0.019 13.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #313126 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.