#031812

Closest named color: Rich Navy (#001219). oklch(18.9% 0.031 172.4), rgb(3, 24, 18).

Aa

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

About this color

#031812 is a very dark, muted teal or cyan. In OKLCH its lightness is 19%, its chroma 0.031 and its hue 172°. Its hue sits on the cool side of the wheel. The nearest named color is Rich Navy (#001219), ΔE 0.033 away. White text reads best on it, at 18.36:1.

Hue familyTeals and cyans
Lightnessvery dark (19%)
Chromamuted (0.031)
Temperaturecool
Nearest nameRich Navy (#001219)
Black text1.14:1
White text18.36:1

Values

HEX#031812
RGBrgb(3, 24, 18)
HSLhsl(163, 78%, 5%)
OKLCHoklch(18.9% 0.031 172.4)

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 #031812 18.36:1 AAA Lc -107.0 Preferred for body text
Black text on #031812 1.14:1 Fails Lc 0.0 Not readable
#031812 text on white 18.36:1 AAA Lc 104.9 Preferred for body text
#031812 text on black 1.14: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

    #F2F7F5

    oklch(97.2% 0.006 170.4)

  2. Step 100

    100

    #E3ECE9

    oklch(93.5% 0.01 174.3)

  3. Step 200

    200

    #CCDED8

    oklch(88.5% 0.021 173.9)

  4. Step 300

    300

    #A9C9BE

    oklch(80.9% 0.038 172.5)

  5. Step 400

    400

    #7AAD9D

    oklch(70.7% 0.059 173.1)

  6. Step 500

    500

    #559985

    oklch(63.2% 0.076 172.7)

  7. Step 600

    600

    #37836E

    oklch(55.6% 0.083 172.3)

  8. Step 700

    700

    #296F5C

    oklch(49.2% 0.077 172.1)

  9. Step 800

    800

    #245A4B

    oklch(42.6% 0.063 172.3)

  10. Step 900

    900

    #234A3F

    oklch(37.7% 0.049 173.1)

  11. Step 950

    950 (this color)

    #031812

    oklch(18.9% 0.031 172.4)

Export this scale for Tailwind in the Tailwind colors tool

#031812 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)#1716120.032
Deuteranopia (no green cones)#1413120.032
Tritanopia (no blue cones)#0018160.009
Achromatopsia (no color)#1414140.031

Harmonies

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

Complementary

The opposite hue (180°).

  • #031812

    #031812

    oklch(18.9% 0.031 172.4)

  • #1E0D15

    #1E0D15

    oklch(18.8% 0.032 351)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #031812

    #031812

    oklch(18.9% 0.031 172.4)

  • #0B170A

    #0B170A

    oklch(18.9% 0.031 142.5)

  • #01181A

    #01181A

    oklch(19.1% 0.031 202.4)

Open the analogous palette in the generator

Split complementary

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

  • #031812

    #031812

    oklch(18.9% 0.031 172.4)

  • #1A0F1C

    #1A0F1C

    oklch(19% 0.031 321.2)

  • #200E0D

    #200E0D

    oklch(19% 0.031 23.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #031812

    #031812

    oklch(18.9% 0.031 172.4)

  • #141120

    #141120

    oklch(18.9% 0.03 292.4)

  • #1E0F06

    #1E0F06

    oklch(18.7% 0.031 52.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #031812

    #031812

    oklch(18.9% 0.031 172.4)

  • #0C1322

    #0C1322

    oklch(18.8% 0.033 264.4)

  • #1E0D15

    #1E0D15

    oklch(18.8% 0.032 351)

  • #1A1203

    #1A1203

    oklch(18.8% 0.032 83.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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