#031D3A

Closest named color: Rich Black (#0D1B2A). oklch(23% 0.065 253.3), rgb(3, 29, 58).

Aa

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

About this color

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

Hue familyBlues
Lightnessvery dark (23%)
Chromamuted (0.065)
Temperaturecool
Nearest nameRich Black (#0D1B2A)
Black text1.24:1
White text16.92:1

Values

HEX#031D3A
RGBrgb(3, 29, 58)
HSLhsl(212, 90%, 12%)
OKLCHoklch(23% 0.065 253.3)

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 #031D3A 16.92:1 AAA Lc -106.0 Preferred for body text
Black text on #031D3A 1.24:1 Fails Lc 0.0 Not readable
#031D3A text on white 16.92:1 AAA Lc 103.6 Preferred for body text
#031D3A text on black 1.24: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

    #F1F6FC

    oklch(97.1% 0.01 252.8)

  2. Step 100

    100

    #E0EBF9

    oklch(93.6% 0.022 254.4)

  3. Step 200

    200

    #C6DBF5

    oklch(88.4% 0.042 253.8)

  4. Step 300

    300

    #9EC4F2

    oklch(80.9% 0.077 253.5)

  5. Step 400

    400

    #67A4EB

    oklch(70.7% 0.123 253.2)

  6. Step 500

    500

    #398BE5

    oklch(63.1% 0.157 253.3)

  7. Step 600

    600

    #0773D3

    oklch(55.6% 0.17 253.3)

  8. Step 700

    700

    #0060B4

    oklch(49.1% 0.153 253.4)

  9. Step 800

    800

    #034F94

    oklch(42.8% 0.131 253.2)

  10. Step 900

    900

    #114276

    oklch(37.7% 0.102 253.5)

  11. Step 950

    950 (this color)

    #031D3A

    oklch(23% 0.065 253.3)

Export this scale for Tailwind in the Tailwind colors tool

#031D3A 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)#0E1F3B0.015
Deuteranopia (no green cones)#041A390.010
Tritanopia (no blue cones)#0024280.048
Achromatopsia (no color)#1D1D1D0.065

Harmonies

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

Complementary

The opposite hue (180°).

  • #031D3A

    #031D3A

    oklch(23% 0.065 253.3)

  • #2A1900

    #2A1900

    oklch(23% 0.049 75)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #031D3A

    #031D3A

    oklch(23% 0.065 253.3)

  • #00212B

    #00212B

    oklch(23% 0.042 222)

  • #1A173A

    #1A173A

    oklch(23% 0.065 283.9)

Open the analogous palette in the generator

Split complementary

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

  • #031D3A

    #031D3A

    oklch(23% 0.065 253.3)

  • #341001

    #341001

    oklch(22.9% 0.064 44.1)

  • #211E00

    #211E00

    oklch(23.1% 0.049 104.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #031D3A

    #031D3A

    oklch(23% 0.065 253.3)

  • #350D14

    #350D14

    oklch(23% 0.064 13.3)

  • #102300

    #102300

    oklch(23.1% 0.065 132.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #031D3A

    #031D3A

    oklch(23% 0.065 253.3)

  • #300E25

    #300E25

    oklch(22.9% 0.065 342.1)

  • #2A1900

    #2A1900

    oklch(23% 0.049 75)

  • #002416

    #002416

    oklch(23% 0.05 162.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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