#031E31

Closest named color: Rich Black (#0D1B2A). oklch(22.6% 0.049 242.9), rgb(3, 30, 49).

Aa

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

About this color

#031E31 is a very dark, muted blue. In OKLCH its lightness is 23%, its chroma 0.049 and its hue 243°. 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.01:1.

Hue familyBlues
Lightnessvery dark (23%)
Chromamuted (0.049)
Temperaturecool
Nearest nameRich Black (#0D1B2A)
Black text1.23:1
White text17.01:1

Values

HEX#031E31
RGBrgb(3, 30, 49)
HSLhsl(205, 88%, 10%)
OKLCHoklch(22.6% 0.049 242.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 #031E31 17.01:1 AAA Lc -106.1 Preferred for body text
Black text on #031E31 1.23:1 Fails Lc 0.0 Not readable
#031E31 text on white 17.01:1 AAA Lc 103.7 Preferred for body text
#031E31 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

    #F1F6FA

    oklch(97.1% 0.008 241.7)

  2. Step 100

    100

    #E1EBF5

    oklch(93.5% 0.017 248)

  3. Step 200

    200

    #C7DCED

    oklch(88.4% 0.033 242.4)

  4. Step 300

    300

    #A0C6E4

    oklch(80.9% 0.059 242.2)

  5. Step 400

    400

    #6BA8D7

    oklch(70.9% 0.094 242.8)

  6. Step 500

    500

    #3D91CC

    oklch(63.2% 0.12 242.7)

  7. Step 600

    600

    #0E7AB9

    oklch(55.7% 0.13 242.9)

  8. Step 700

    700

    #00669E

    oklch(49% 0.119 243.2)

  9. Step 800

    800

    #065481

    oklch(42.8% 0.1 242.6)

  10. Step 900

    900

    #134567

    oklch(37.5% 0.078 243.1)

  11. Step 950

    950 (this color)

    #031E31

    oklch(22.6% 0.049 242.9)

Export this scale for Tailwind in the Tailwind colors tool

#031E31 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)#151F320.023
Deuteranopia (no green cones)#0E1A310.017
Tritanopia (no blue cones)#0023250.034
Achromatopsia (no color)#1C1C1C0.049

Harmonies

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

Complementary

The opposite hue (180°).

  • #031E31

    #031E31

    oklch(22.6% 0.049 242.9)

  • #2C1601

    #2C1601

    oklch(22.6% 0.05 63)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #031E31

    #031E31

    oklch(22.6% 0.049 242.9)

  • #002127

    #002127

    oklch(22.7% 0.04 211.9)

  • #141A33

    #141A33

    oklch(22.6% 0.049 271.8)

Open the analogous palette in the generator

Split complementary

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

  • #031E31

    #031E31

    oklch(22.6% 0.049 242.9)

  • #2F120C

    #2F120C

    oklch(22.5% 0.049 33.1)

  • #231B00

    #231B00

    oklch(22.5% 0.046 93.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #031E31

    #031E31

    oklch(22.6% 0.049 242.9)

  • #2E111A

    #2E111A

    oklch(22.6% 0.049 2.2)

  • #181F03

    #181F03

    oklch(22.5% 0.049 121.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #031E31

    #031E31

    oklch(22.6% 0.049 242.9)

  • #291226

    #291226

    oklch(22.5% 0.05 332.1)

  • #2C1601

    #2C1601

    oklch(22.6% 0.05 63)

  • #052210

    #052210

    oklch(22.4% 0.049 153.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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