#031F2E

Closest named color: Rich Black (#0D1B2A). oklch(22.7% 0.044 235.9), rgb(3, 31, 46).

Aa

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

About this color

#031F2E is a very dark, muted blue. In OKLCH its lightness is 23%, its chroma 0.044 and its hue 236°. 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 16.94:1.

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

Values

HEX#031F2E
RGBrgb(3, 31, 46)
HSLhsl(201, 88%, 10%)
OKLCHoklch(22.7% 0.044 235.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 #031F2E 16.94:1 AAA Lc -106.1 Preferred for body text
Black text on #031F2E 1.23:1 Fails Lc 0.0 Not readable
#031F2E text on white 16.94:1 AAA Lc 103.7 Preferred for body text
#031F2E 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

    #E1ECF3

    oklch(93.7% 0.015 235.4)

  3. Step 200

    200

    #C8DDEA

    oklch(88.6% 0.029 234.9)

  4. Step 300

    300

    #A1C7DE

    oklch(81% 0.052 234.9)

  5. Step 400

    400

    #6BA9CE

    oklch(70.7% 0.084 235.9)

  6. Step 500

    500

    #3D93C2

    oklch(63.1% 0.108 236.1)

  7. Step 600

    600

    #0A7CAE

    oklch(55.5% 0.117 236.2)

  8. Step 700

    700

    #006994

    oklch(49.2% 0.105 235.5)

  9. Step 800

    800

    #045679

    oklch(42.8% 0.089 235.2)

  10. Step 900

    900

    #134762

    oklch(37.8% 0.07 236.1)

  11. Step 950

    950 (this color)

    #031F2E

    oklch(22.7% 0.044 235.9)

Export this scale for Tailwind in the Tailwind colors tool

#031F2E 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)#181F2F0.027
Deuteranopia (no green cones)#121B2E0.021
Tritanopia (no blue cones)#0023240.028
Achromatopsia (no color)#1D1D1D0.045

Harmonies

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

Complementary

The opposite hue (180°).

  • #031F2E

    #031F2E

    oklch(22.7% 0.044 235.9)

  • #2C1606

    #2C1606

    oklch(22.7% 0.045 55)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #031F2E

    #031F2E

    oklch(22.7% 0.044 235.9)

  • #002125

    #002125

    oklch(22.6% 0.039 206.4)

  • #121B31

    #121B31

    oklch(22.6% 0.045 266.1)

Open the analogous palette in the generator

Split complementary

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

  • #031F2E

    #031F2E

    oklch(22.7% 0.044 235.9)

  • #2E1311

    #2E1311

    oklch(22.7% 0.045 25.6)

  • #251A01

    #251A01

    oklch(22.5% 0.044 86.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #031F2E

    #031F2E

    oklch(22.7% 0.044 235.9)

  • #2C131D

    #2C131D

    oklch(22.7% 0.044 355.8)

  • #1B1F04

    #1B1F04

    oklch(22.8% 0.045 117)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #031F2E

    #031F2E

    oklch(22.7% 0.044 235.9)

  • #271427

    #271427

    oklch(22.6% 0.045 326.9)

  • #2C1606

    #2C1606

    oklch(22.7% 0.045 55)

  • #0D220F

    #0D220F

    oklch(22.8% 0.045 145.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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