#031B02

Closest named color: Rich Navy (#001219). oklch(19.5% 0.059 142), rgb(3, 27, 2).

Aa

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

About this color

#031B02 is a very dark, muted green. In OKLCH its lightness is 20%, its chroma 0.059 and its hue 142°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Rich Navy (#001219), ΔE 0.067 away. White text reads best on it, at 18.07:1.

Hue familyGreens
Lightnessvery dark (20%)
Chromamuted (0.059)
Temperaturein between
Nearest nameRich Navy (#001219)
Black text1.16:1
White text18.07:1

Values

HEX#031B02
RGBrgb(3, 27, 2)
HSLhsl(118, 86%, 6%)
OKLCHoklch(19.5% 0.059 142)

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 #031B02 18.07:1 AAA Lc -106.8 Preferred for body text
Black text on #031B02 1.16:1 Fails Lc 0.0 Not readable
#031B02 text on white 18.07:1 AAA Lc 104.6 Preferred for body text
#031B02 text on black 1.16: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

    #F2F7F1

    oklch(97.1% 0.01 140.5)

  2. Step 100

    100

    #E3EDE1

    oklch(93.5% 0.019 140.5)

  3. Step 200

    200

    #CBE0C9

    oklch(88.5% 0.038 142.8)

  4. Step 300

    300

    #A8CDA3

    oklch(81% 0.07 141.7)

  5. Step 400

    400

    #77B271

    oklch(70.6% 0.111 142.2)

  6. Step 500

    500

    #529E4A

    oklch(63% 0.141 141.9)

  7. Step 600

    600

    #32882A

    oklch(55.5% 0.154 141.9)

  8. Step 700

    700

    #23741D

    oklch(49.2% 0.144 142.1)

  9. Step 800

    800

    #205E1A

    oklch(42.6% 0.119 141.9)

  10. Step 900

    900

    #204D1C

    oklch(37.6% 0.092 142)

  11. Step 950

    950 (this color)

    #031B02

    oklch(19.5% 0.059 142)

Export this scale for Tailwind in the Tailwind colors tool

#031B02 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)#1C17000.041
Deuteranopia (no green cones)#1915030.042
Tritanopia (no blue cones)#011A160.039
Achromatopsia (no color)#1616160.059

Harmonies

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

Complementary

The opposite hue (180°).

  • #031B02

    #031B02

    oklch(19.5% 0.059 142)

  • #210A24

    #210A24

    oklch(19.6% 0.058 322.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #031B02

    #031B02

    oklch(19.5% 0.059 142)

  • #161700

    #161700

    oklch(19.7% 0.044 111.9)

  • #001A13

    #001A13

    oklch(19.4% 0.037 172.8)

Open the analogous palette in the generator

Split complementary

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

  • #031B02

    #031B02

    oklch(19.5% 0.059 142)

  • #160E2D

    #160E2D

    oklch(19.5% 0.06 291.8)

  • #270718

    #270718

    oklch(19.4% 0.059 350.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #031B02

    #031B02

    oklch(19.5% 0.059 142)

  • #06132F

    #06132F

    oklch(19.4% 0.059 262.7)

  • #2A0708

    #2A0708

    oklch(19.5% 0.059 22.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #031B02

    #031B02

    oklch(19.5% 0.059 142)

  • #001824

    #001824

    oklch(19.6% 0.04 231.9)

  • #210A24

    #210A24

    oklch(19.6% 0.058 322.9)

  • #260D00

    #260D00

    oklch(19.6% 0.05 52)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #031B02 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.