#031E28

Closest named color: Rich Black (#0D1B2A). oklch(22% 0.038 226), rgb(3, 30, 40).

Aa

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

About this color

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

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

Values

HEX#031E28
RGBrgb(3, 30, 40)
HSLhsl(196, 86%, 8%)
OKLCHoklch(22% 0.038 226)

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 #031E28 17.20:1 AAA Lc -106.3 Preferred for body text
Black text on #031E28 1.22:1 Fails Lc 0.0 Not readable
#031E28 text on white 17.20:1 AAA Lc 103.9 Preferred for body text
#031E28 text on black 1.22: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

    #F1F6F9

    oklch(97% 0.007 233.6)

  2. Step 100

    100

    #E1ECF1

    oklch(93.6% 0.014 226.6)

  3. Step 200

    200

    #C9DDE6

    oklch(88.5% 0.025 226.5)

  4. Step 300

    300

    #A3C7D7

    oklch(80.9% 0.045 226.7)

  5. Step 400

    400

    #6EAAC3

    oklch(70.6% 0.072 226.3)

  6. Step 500

    500

    #4295B4

    oklch(63.1% 0.092 225.7)

  7. Step 600

    600

    #187FA0

    oklch(55.7% 0.1 225.8)

  8. Step 700

    700

    #026B89

    oklch(49.2% 0.093 225.8)

  9. Step 800

    800

    #0D576F

    oklch(42.7% 0.077 226.1)

  10. Step 900

    900

    #16485A

    oklch(37.7% 0.06 225.9)

  11. Step 950

    950 (this color)

    #031E28

    oklch(22% 0.038 226)

Export this scale for Tailwind in the Tailwind colors tool

#031E28 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)#191D290.030
Deuteranopia (no green cones)#1319280.026
Tritanopia (no blue cones)#0021210.021
Achromatopsia (no color)#1B1B1B0.038

Harmonies

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

Complementary

The opposite hue (180°).

  • #031E28

    #031E28

    oklch(22% 0.038 226)

  • #29150B

    #29150B

    oklch(22.1% 0.037 46.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #031E28

    #031E28

    oklch(22% 0.038 226)

  • #002020

    #002020

    oklch(22% 0.038 194.8)

  • #0E1B2C

    #0E1B2C

    oklch(22% 0.038 255.6)

Open the analogous palette in the generator

Split complementary

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

  • #031E28

    #031E28

    oklch(22% 0.038 226)

  • #2A1314

    #2A1314

    oklch(22.1% 0.038 17.9)

  • #251805

    #251805

    oklch(22.1% 0.038 75)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #031E28

    #031E28

    oklch(22% 0.038 226)

  • #27131E

    #27131E

    oklch(22% 0.038 346.5)

  • #1D1C05

    #1D1C05

    oklch(22.1% 0.039 106.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #031E28

    #031E28

    oklch(22% 0.038 226)

  • #211526

    #211526

    oklch(21.9% 0.037 315.6)

  • #29150B

    #29150B

    oklch(22.1% 0.037 46.7)

  • #121F0C

    #121F0C

    oklch(22.1% 0.039 136.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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