#031D31

Closest named color: Rich Black (#0D1B2A). oklch(22.3% 0.051 244.9), rgb(3, 29, 49).

Aa

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

About this color

#031D31 is a very dark, muted blue. In OKLCH its lightness is 22%, its chroma 0.051 and its hue 245°. Its hue sits on the cool side of the wheel. The nearest named color is Rich Black (#0D1B2A), ΔE 0.017 away. White text reads best on it, at 17.15:1.

Hue familyBlues
Lightnessvery dark (22%)
Chromamuted (0.051)
Temperaturecool
Nearest nameRich Black (#0D1B2A)
Black text1.22:1
White text17.15:1

Values

HEX#031D31
RGBrgb(3, 29, 49)
HSLhsl(206, 88%, 10%)
OKLCHoklch(22.3% 0.051 244.9)

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 #031D31 17.15:1 AAA Lc -106.2 Preferred for body text
Black text on #031D31 1.22:1 Fails Lc 0.0 Not readable
#031D31 text on white 17.15:1 AAA Lc 103.9 Preferred for body text
#031D31 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

    #F1F6FB

    oklch(97.1% 0.009 247.9)

  2. Step 100

    100

    #E1EBF5

    oklch(93.5% 0.017 248)

  3. Step 200

    200

    #C8DCEE

    oklch(88.5% 0.033 245.3)

  4. Step 300

    300

    #A1C5E5

    oklch(80.8% 0.06 245.5)

  5. Step 400

    400

    #6BA7D9

    oklch(70.7% 0.097 244.9)

  6. Step 500

    500

    #3F90CE

    oklch(63.1% 0.122 244.7)

  7. Step 600

    600

    #1479BB

    oklch(55.6% 0.133 244.8)

  8. Step 700

    700

    #0065A1

    oklch(49% 0.124 245.1)

  9. Step 800

    800

    #0A5383

    oklch(42.7% 0.103 245.1)

  10. Step 900

    900

    #144569

    oklch(37.7% 0.08 244.8)

  11. Step 950

    950 (this color)

    #031D31

    oklch(22.3% 0.051 244.9)

Export this scale for Tailwind in the Tailwind colors tool

#031D31 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)#141E320.022
Deuteranopia (no green cones)#0D19310.017
Tritanopia (no blue cones)#0022240.036
Achromatopsia (no color)#1B1B1B0.051

Harmonies

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

Complementary

The opposite hue (180°).

  • #031D31

    #031D31

    oklch(22.3% 0.051 244.9)

  • #2B1500

    #2B1500

    oklch(22.2% 0.05 63.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #031D31

    #031D31

    oklch(22.3% 0.051 244.9)

  • #002027

    #002027

    oklch(22.4% 0.04 215)

  • #151932

    #151932

    oklch(22.4% 0.049 274.9)

Open the analogous palette in the generator

Split complementary

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

  • #031D31

    #031D31

    oklch(22.3% 0.051 244.9)

  • #2F110A

    #2F110A

    oklch(22.3% 0.051 34.4)

  • #221B00

    #221B00

    oklch(22.4% 0.046 95.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #031D31

    #031D31

    oklch(22.3% 0.051 244.9)

  • #2E1018

    #2E1018

    oklch(22.3% 0.05 5.2)

  • #161F03

    #161F03

    oklch(22.3% 0.05 124.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #031D31

    #031D31

    oklch(22.3% 0.051 244.9)

  • #291124

    #291124

    oklch(22.2% 0.05 335.5)

  • #2B1500

    #2B1500

    oklch(22.2% 0.05 63.7)

  • #032210

    #032210

    oklch(22.3% 0.051 154.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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