#031B22

Closest named color: Rich Black (#0D1B2A). oklch(20.7% 0.033 219.7), rgb(3, 27, 34).

Aa

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

About this color

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

Hue familyTeals and cyans
Lightnessvery dark (21%)
Chromamuted (0.033)
Temperaturecool
Nearest nameRich Black (#0D1B2A)
Black text1.18:1
White text17.74:1

Values

HEX#031B22
RGBrgb(3, 27, 34)
HSLhsl(194, 84%, 7%)
OKLCHoklch(20.7% 0.033 219.7)

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 #031B22 17.74:1 AAA Lc -106.6 Preferred for body text
Black text on #031B22 1.18:1 Fails Lc 0.0 Not readable
#031B22 text on white 17.74:1 AAA Lc 104.4 Preferred for body text
#031B22 text on black 1.18: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

    #E2ECEF

    oklch(93.6% 0.011 217.5)

  3. Step 200

    200

    #CADDE3

    oklch(88.5% 0.022 218.6)

  4. Step 300

    300

    #A5C7D2

    oklch(80.8% 0.04 219.4)

  5. Step 400

    400

    #73AABC

    oklch(70.6% 0.063 220.4)

  6. Step 500

    500

    #4B95AB

    oklch(63.1% 0.08 219.7)

  7. Step 600

    600

    #277F97

    oklch(55.6% 0.088 220.1)

  8. Step 700

    700

    #186B80

    oklch(49% 0.081 219.4)

  9. Step 800

    800

    #185768

    oklch(42.6% 0.067 219.8)

  10. Step 900

    900

    #1C4855

    oklch(37.7% 0.053 220.3)

  11. Step 950

    950 (this color)

    #031B22

    oklch(20.7% 0.033 219.7)

Export this scale for Tailwind in the Tailwind colors tool

#031B22 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)#171A220.028
Deuteranopia (no green cones)#1217220.024
Tritanopia (no blue cones)#001D1D0.015
Achromatopsia (no color)#1818180.033

Harmonies

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

Complementary

The opposite hue (180°).

  • #031B22

    #031B22

    oklch(20.7% 0.033 219.7)

  • #24120C

    #24120C

    oklch(20.6% 0.032 39.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #031B22

    #031B22

    oklch(20.7% 0.033 219.7)

  • #021C1B

    #021C1B

    oklch(20.6% 0.033 191.4)

  • #0B1926

    #0B1926

    oklch(20.8% 0.033 247.9)

Open the analogous palette in the generator

Split complementary

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

  • #031B22

    #031B22

    oklch(20.7% 0.033 219.7)

  • #251114

    #251114

    oklch(20.8% 0.034 10.8)

  • #211506

    #211506

    oklch(20.7% 0.033 71.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #031B22

    #031B22

    oklch(20.7% 0.033 219.7)

  • #22111C

    #22111C

    oklch(20.6% 0.034 341.3)

  • #1B1805

    #1B1805

    oklch(20.7% 0.034 100.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #031B22

    #031B22

    oklch(20.7% 0.033 219.7)

  • #1C1323

    #1C1323

    oklch(20.6% 0.034 309.4)

  • #24120C

    #24120C

    oklch(20.6% 0.032 39.2)

  • #131B0A

    #131B0A

    oklch(20.9% 0.033 129.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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