#031D29

Closest named color: Rich Black (#0D1B2A). oklch(21.7% 0.04 231.4), rgb(3, 29, 41).

Aa

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

About this color

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

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

Values

HEX#031D29
RGBrgb(3, 29, 41)
HSLhsl(199, 86%, 9%)
OKLCHoklch(21.7% 0.04 231.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 #031D29 17.33:1 AAA Lc -106.4 Preferred for body text
Black text on #031D29 1.21:1 Fails Lc 0.0 Not readable
#031D29 text on white 17.33:1 AAA Lc 104.0 Preferred for body text
#031D29 text on black 1.21: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

    #C9DDE8

    oklch(88.6% 0.026 231.7)

  4. Step 300

    300

    #A3C7DA

    oklch(81% 0.047 231.1)

  5. Step 400

    400

    #6FA9C7

    oklch(70.6% 0.075 231.8)

  6. Step 500

    500

    #4494B9

    oklch(63.2% 0.096 231)

  7. Step 600

    600

    #1B7DA5

    oklch(55.5% 0.104 231.5)

  8. Step 700

    700

    #086A8E

    oklch(49.2% 0.097 231.2)

  9. Step 800

    800

    #0F5673

    oklch(42.6% 0.081 231.6)

  10. Step 900

    900

    #17475D

    oklch(37.6% 0.063 231.9)

  11. Step 950

    950 (this color)

    #031D29

    oklch(21.7% 0.04 231.4)

Export this scale for Tailwind in the Tailwind colors tool

#031D29 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)#171D2A0.027
Deuteranopia (no green cones)#1219290.022
Tritanopia (no blue cones)#0020210.023
Achromatopsia (no color)#1A1A1A0.040

Harmonies

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

Complementary

The opposite hue (180°).

  • #031D29

    #031D29

    oklch(21.7% 0.04 231.4)

  • #281408

    #281408

    oklch(21.6% 0.039 50.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #031D29

    #031D29

    oklch(21.7% 0.04 231.4)

  • #001F21

    #001F21

    oklch(21.8% 0.037 200.9)

  • #0F1A2C

    #0F1A2C

    oklch(21.8% 0.039 259.9)

Open the analogous palette in the generator

Split complementary

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

  • #031D29

    #031D29

    oklch(21.7% 0.04 231.4)

  • #2A1212

    #2A1212

    oklch(21.8% 0.04 20.8)

  • #231803

    #231803

    oklch(21.8% 0.039 82.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #031D29

    #031D29

    oklch(21.7% 0.04 231.4)

  • #28121C

    #28121C

    oklch(21.8% 0.04 352.2)

  • #1B1C04

    #1B1C04

    oklch(21.9% 0.041 111.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #031D29

    #031D29

    oklch(21.7% 0.04 231.4)

  • #221325

    #221325

    oklch(21.6% 0.041 320.8)

  • #281408

    #281408

    oklch(21.6% 0.039 50.7)

  • #0F1F0D

    #0F1F0D

    oklch(21.9% 0.04 141.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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