#12131F

Closest named color: Rich Black (#0D1B2A). oklch(19.2% 0.024 280.2), rgb(18, 19, 31).

Aa

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

About this color

#12131F is a very dark close to neutral grey. In OKLCH its lightness is 19%, its chroma 0.024. It has too little chroma to lean warm or cool. The nearest named color is Rich Black (#0D1B2A), ΔE 0.032 away. White text reads best on it, at 18.44:1.

Hue familyNeutrals
Lightnessvery dark (19%)
Chromaclose to neutral grey (0.024)
Temperatureneutral
Nearest nameRich Black (#0D1B2A)
Black text1.13:1
White text18.44:1

Values

HEX#12131F
RGBrgb(18, 19, 31)
HSLhsl(235, 27%, 10%)
OKLCHoklch(19.2% 0.024 280.2)

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 #12131F 18.44:1 AAA Lc -107.1 Preferred for body text
Black text on #12131F 1.13:1 Fails Lc 0.0 Not readable
#12131F text on white 18.44:1 AAA Lc 105.1 Preferred for body text
#12131F text on black 1.13: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

    #F5F5F8

    oklch(97.1% 0.004 286.3)

  2. Step 100

    100

    #E8E9EF

    oklch(93.5% 0.008 278.6)

  3. Step 200

    200

    #D7D8E4

    oklch(88.5% 0.016 282.2)

  4. Step 300

    300

    #BCBFD3

    oklch(80.9% 0.028 279)

  5. Step 400

    400

    #9A9EBD

    oklch(70.7% 0.045 279.4)

  6. Step 500

    500

    #8286AD

    oklch(63.1% 0.059 280)

  7. Step 600

    600

    #6C6F99

    oklch(55.6% 0.065 280.9)

  8. Step 700

    700

    #5A5D82

    oklch(49.1% 0.059 280.4)

  9. Step 800

    800

    #494C6A

    oklch(42.6% 0.05 279.6)

  10. Step 900

    900

    #3D3F56

    oklch(37.6% 0.039 280.5)

  11. Step 950

    950 (this color)

    #12131F

    oklch(19.2% 0.024 280.2)

Export this scale for Tailwind in the Tailwind colors tool

#12131F 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)#0F14200.006
Deuteranopia (no green cones)#0F131F0.006
Tritanopia (no blue cones)#0F15170.021
Achromatopsia (no color)#1414140.024

Harmonies

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

Complementary

The opposite hue (180°).

  • #12131F

    #12131F

    oklch(19.2% 0.024 280.2)

  • #171407

    #171407

    oklch(19.1% 0.024 97)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #12131F

    #12131F

    oklch(19.2% 0.024 280.2)

  • #0C151F

    #0C151F

    oklch(19.2% 0.024 251.7)

  • #18111C

    #18111C

    oklch(19.2% 0.024 312.9)

Open the analogous palette in the generator

Split complementary

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

  • #12131F

    #12131F

    oklch(19.2% 0.024 280.2)

  • #1B1208

    #1B1208

    oklch(19.1% 0.024 68.9)

  • #11160B

    #11160B

    oklch(19.1% 0.023 128.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #12131F

    #12131F

    oklch(19.2% 0.024 280.2)

  • #1E100C

    #1E100C

    oklch(19.1% 0.025 36.7)

  • #0A1810

    #0A1810

    oklch(19.3% 0.026 157.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #12131F

    #12131F

    oklch(19.2% 0.024 280.2)

  • #1E1012

    #1E1012

    oklch(19.3% 0.024 10.2)

  • #171407

    #171407

    oklch(19.1% 0.024 97)

  • #061817

    #061817

    oklch(19.3% 0.024 190.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #12131F 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.