#031A23

Closest named color: Rich Black (#0D1B2A). oklch(20.4% 0.035 226.4), rgb(3, 26, 35).

Aa

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

About this color

#031A23 is a very dark, muted teal or cyan. In OKLCH its lightness is 20%, its chroma 0.035 and its hue 226°. Its hue sits on the cool side of the wheel. The nearest named color is Rich Black (#0D1B2A), ΔE 0.020 away. White text reads best on it, at 17.85:1.

Hue familyTeals and cyans
Lightnessvery dark (20%)
Chromamuted (0.035)
Temperaturecool
Nearest nameRich Black (#0D1B2A)
Black text1.17:1
White text17.85:1

Values

HEX#031A23
RGBrgb(3, 26, 35)
HSLhsl(197, 84%, 7%)
OKLCHoklch(20.4% 0.035 226.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 #031A23 17.85:1 AAA Lc -106.7 Preferred for body text
Black text on #031A23 1.17:1 Fails Lc 0.0 Not readable
#031A23 text on white 17.85:1 AAA Lc 104.5 Preferred for body text
#031A23 text on black 1.17: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

    #F2F6F8

    oklch(97.1% 0.005 228.8)

  2. Step 100

    100

    #E2ECF0

    oklch(93.7% 0.012 223.5)

  3. Step 200

    200

    #CADDE5

    oklch(88.6% 0.023 224.9)

  4. Step 300

    300

    #A6C7D5

    oklch(81% 0.041 225.4)

  5. Step 400

    400

    #74A9C0

    oklch(70.6% 0.065 227)

  6. Step 500

    500

    #4C94B0

    oklch(63.1% 0.083 225.9)

  7. Step 600

    600

    #2A7E9C

    oklch(55.7% 0.091 226)

  8. Step 700

    700

    #1B6A85

    oklch(49.1% 0.084 226)

  9. Step 800

    800

    #1A566C

    oklch(42.6% 0.07 226.7)

  10. Step 900

    900

    #1D4758

    oklch(37.6% 0.055 227.5)

  11. Step 950

    950 (this color)

    #031A23

    oklch(20.4% 0.035 226.4)

Export this scale for Tailwind in the Tailwind colors tool

#031A23 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)#1519230.025
Deuteranopia (no green cones)#1116230.023
Tritanopia (no blue cones)#001D1D0.020
Achromatopsia (no color)#1717170.035

Harmonies

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

Complementary

The opposite hue (180°).

  • #031A23

    #031A23

    oklch(20.4% 0.035 226.4)

  • #241209

    #241209

    oklch(20.5% 0.034 46.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #031A23

    #031A23

    oklch(20.4% 0.035 226.4)

  • #001C1C

    #001C1C

    oklch(20.5% 0.035 194.8)

  • #0C1727

    #0C1727

    oklch(20.3% 0.036 257.7)

Open the analogous palette in the generator

Split complementary

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

  • #031A23

    #031A23

    oklch(20.4% 0.035 226.4)

  • #251011

    #251011

    oklch(20.5% 0.035 17.6)

  • #201504

    #201504

    oklch(20.5% 0.035 77.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #031A23

    #031A23

    oklch(20.4% 0.035 226.4)

  • #22101A

    #22101A

    oklch(20.3% 0.035 346.2)

  • #191804

    #191804

    oklch(20.4% 0.036 106.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #031A23

    #031A23

    oklch(20.4% 0.035 226.4)

  • #1D1221

    #1D1221

    oklch(20.4% 0.033 316.8)

  • #241209

    #241209

    oklch(20.5% 0.034 46.9)

  • #0F1B0A

    #0F1B0A

    oklch(20.5% 0.036 137.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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