#0A1F20

Closest named color: Rich Black (#0D1B2A). oklch(22.3% 0.027 199.5), rgb(10, 31, 32).

Aa

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

About this color

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

Hue familyNeutrals
Lightnessvery dark (22%)
Chromaclose to neutral grey (0.027)
Temperatureneutral
Nearest nameRich Black (#0D1B2A)
Black text1.22:1
White text17.07:1

Values

HEX#0A1F20
RGBrgb(10, 31, 32)
HSLhsl(183, 52%, 8%)
OKLCHoklch(22.3% 0.027 199.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 #0A1F20 17.07:1 AAA Lc -106.3 Preferred for body text
Black text on #0A1F20 1.22:1 Fails Lc 0.0 Not readable
#0A1F20 text on white 17.07:1 AAA Lc 103.9 Preferred for body text
#0A1F20 text on black 1.22: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

    #F2F6F6

    oklch(97% 0.004 197.1)

  2. Step 100

    100

    #E3ECEC

    oklch(93.6% 0.01 197)

  3. Step 200

    200

    #CCDDDD

    oklch(88.5% 0.018 196.8)

  4. Step 300

    300

    #AAC7C8

    oklch(80.9% 0.031 199.1)

  5. Step 400

    400

    #7BABAD

    oklch(70.8% 0.051 199.3)

  6. Step 500

    500

    #579699

    oklch(63.2% 0.065 199.6)

  7. Step 600

    600

    #398083

    oklch(55.6% 0.071 199.1)

  8. Step 700

    700

    #2B6C6F

    oklch(49.1% 0.065 199.4)

  9. Step 800

    800

    #25585A

    oklch(42.7% 0.054 198.8)

  10. Step 900

    900

    #24494A

    oklch(37.8% 0.042 197.8)

  11. Step 950

    950 (this color)

    #0A1F20

    oklch(22.3% 0.027 199.5)

Export this scale for Tailwind in the Tailwind colors tool

#0A1F20 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)#1C1D200.027
Deuteranopia (no green cones)#191B200.025
Tritanopia (no blue cones)#01201F0.011
Achromatopsia (no color)#1C1C1C0.027

Harmonies

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

Complementary

The opposite hue (180°).

  • #0A1F20

    #0A1F20

    oklch(22.3% 0.027 199.5)

  • #261616

    #261616

    oklch(22.2% 0.026 19.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #0A1F20

    #0A1F20

    oklch(22.3% 0.027 199.5)

  • #0D1F19

    #0D1F19

    oklch(22.1% 0.027 170.2)

  • #0D1E25

    #0D1E25

    oklch(22.4% 0.027 226.6)

Open the analogous palette in the generator

Split complementary

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

  • #0A1F20

    #0A1F20

    oklch(22.3% 0.027 199.5)

  • #25161D

    #25161D

    oklch(22.3% 0.027 350)

  • #251710

    #251710

    oklch(22.1% 0.026 47.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #0A1F20

    #0A1F20

    oklch(22.3% 0.027 199.5)

  • #211723

    #211723

    oklch(22.3% 0.027 320.7)

  • #221A0C

    #221A0C

    oklch(22.3% 0.027 80.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #0A1F20

    #0A1F20

    oklch(22.3% 0.027 199.5)

  • #1B1927

    #1B1927

    oklch(22.3% 0.027 290.6)

  • #261616

    #261616

    oklch(22.2% 0.026 19.4)

  • #1C1C0D

    #1C1C0D

    oklch(22.2% 0.027 108.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #0A1F20 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.