#031F28

Closest named color: Rich Black (#0D1B2A). oklch(22.3% 0.038 222.8), rgb(3, 31, 40).

Aa

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

About this color

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

Hue familyTeals and cyans
Lightnessvery dark (22%)
Chromamuted (0.038)
Temperaturecool
Nearest nameRich Black (#0D1B2A)
Black text1.23:1
White text17.06:1

Values

HEX#031F28
RGBrgb(3, 31, 40)
HSLhsl(195, 86%, 8%)
OKLCHoklch(22.3% 0.038 222.8)

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 #031F28 17.06:1 AAA Lc -106.2 Preferred for body text
Black text on #031F28 1.23:1 Fails Lc 0.0 Not readable
#031F28 text on white 17.06:1 AAA Lc 103.8 Preferred for body text
#031F28 text on black 1.23: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

    #F1F6F8

    oklch(97% 0.006 223.5)

  2. Step 100

    100

    #E1ECF0

    oklch(93.6% 0.013 221.4)

  3. Step 200

    200

    #C8DDE5

    oklch(88.4% 0.025 222.6)

  4. Step 300

    300

    #A2C8D6

    oklch(81% 0.045 222.3)

  5. Step 400

    400

    #6DABC1

    oklch(70.7% 0.071 222.5)

  6. Step 500

    500

    #4096B2

    oklch(63.2% 0.092 222.6)

  7. Step 600

    600

    #127F9D

    oklch(55.5% 0.099 223)

  8. Step 700

    700

    #006B86

    oklch(49% 0.091 223.1)

  9. Step 800

    800

    #08586D

    oklch(42.8% 0.076 222.1)

  10. Step 900

    900

    #154858

    oklch(37.6% 0.059 222.8)

  11. Step 950

    950 (this color)

    #031F28

    oklch(22.3% 0.038 222.8)

Export this scale for Tailwind in the Tailwind colors tool

#031F28 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)#1A1E280.030
Deuteranopia (no green cones)#151A280.028
Tritanopia (no blue cones)#0022220.019
Achromatopsia (no color)#1C1C1C0.038

Harmonies

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

Complementary

The opposite hue (180°).

  • #031F28

    #031F28

    oklch(22.3% 0.038 222.8)

  • #2A150D

    #2A150D

    oklch(22.3% 0.038 41.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #031F28

    #031F28

    oklch(22.3% 0.038 222.8)

  • #002120

    #002120

    oklch(22.4% 0.038 191.9)

  • #0E1C2C

    #0E1C2C

    oklch(22.3% 0.037 252.7)

Open the analogous palette in the generator

Split complementary

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

  • #031F28

    #031F28

    oklch(22.3% 0.038 222.8)

  • #2A1316

    #2A1316

    oklch(22.1% 0.038 12.3)

  • #261806

    #261806

    oklch(22.3% 0.037 71.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #031F28

    #031F28

    oklch(22.3% 0.038 222.8)

  • #271420

    #271420

    oklch(22.3% 0.037 342.1)

  • #1F1C05

    #1F1C05

    oklch(22.4% 0.039 102.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #031F28

    #031F28

    oklch(22.3% 0.038 222.8)

  • #211628

    #211628

    oklch(22.3% 0.037 311.6)

  • #2A150D

    #2A150D

    oklch(22.3% 0.038 41.4)

  • #141F0C

    #141F0C

    oklch(22.3% 0.038 133.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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