#031E2C

Closest named color: Rich Black (#0D1B2A). oklch(22.2% 0.043 234.8), rgb(3, 30, 44).

Aa

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

About this color

#031E2C is a very dark, muted blue. In OKLCH its lightness is 22%, its chroma 0.043 and its hue 235°. 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.12:1.

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

Values

HEX#031E2C
RGBrgb(3, 30, 44)
HSLhsl(200, 87%, 9%)
OKLCHoklch(22.2% 0.043 234.8)

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

    #F1F6F9

    oklch(97% 0.007 233.6)

  2. Step 100

    100

    #E1ECF2

    oklch(93.7% 0.014 231.2)

  3. Step 200

    200

    #C8DDE9

    oklch(88.6% 0.028 232.7)

  4. Step 300

    300

    #A2C7DD

    oklch(81% 0.05 234.3)

  5. Step 400

    400

    #6DA9CC

    oklch(70.7% 0.081 235.1)

  6. Step 500

    500

    #4093BF

    oklch(63.1% 0.104 235)

  7. Step 600

    600

    #147DAB

    oklch(55.7% 0.112 234.5)

  8. Step 700

    700

    #006993

    oklch(49.2% 0.104 234.9)

  9. Step 800

    800

    #0A5677

    oklch(42.8% 0.086 234.3)

  10. Step 900

    900

    #154760

    oklch(37.7% 0.067 234.6)

  11. Step 950

    950 (this color)

    #031E2C

    oklch(22.2% 0.043 234.8)

Export this scale for Tailwind in the Tailwind colors tool

#031E2C 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)#171E2D0.026
Deuteranopia (no green cones)#111A2C0.021
Tritanopia (no blue cones)#0022230.027
Achromatopsia (no color)#1C1C1C0.043

Harmonies

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

Complementary

The opposite hue (180°).

  • #031E2C

    #031E2C

    oklch(22.2% 0.043 234.8)

  • #2A1506

    #2A1506

    oklch(22.2% 0.043 54.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #031E2C

    #031E2C

    oklch(22.2% 0.043 234.8)

  • #002023

    #002023

    oklch(22.2% 0.038 203.7)

  • #111A2F

    #111A2F

    oklch(22.1% 0.043 265.4)

Open the analogous palette in the generator

Split complementary

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

  • #031E2C

    #031E2C

    oklch(22.2% 0.043 234.8)

  • #2C1311

    #2C1311

    oklch(22.3% 0.042 25.7)

  • #241902

    #241902

    oklch(22.2% 0.042 84.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #031E2C

    #031E2C

    oklch(22.2% 0.043 234.8)

  • #2A121C

    #2A121C

    oklch(22.2% 0.042 354.7)

  • #1B1D04

    #1B1D04

    oklch(22.2% 0.042 113.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #031E2C

    #031E2C

    oklch(22.2% 0.043 234.8)

  • #251426

    #251426

    oklch(22.3% 0.042 324.9)

  • #2A1506

    #2A1506

    oklch(22.2% 0.043 54.8)

  • #0D200E

    #0D200E

    oklch(22.1% 0.042 145.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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