#031E37

Closest named color: Rich Black (#0D1B2A). oklch(23% 0.059 249.5), rgb(3, 30, 55).

Aa

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

About this color

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

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

Values

HEX#031E37
RGBrgb(3, 30, 55)
HSLhsl(209, 90%, 11%)
OKLCHoklch(23% 0.059 249.5)

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

    #E0EBF7

    oklch(93.5% 0.02 250.4)

  3. Step 200

    200

    #C6DCF2

    oklch(88.5% 0.038 248.3)

  4. Step 300

    300

    #9FC5EC

    oklch(80.9% 0.069 249.4)

  5. Step 400

    400

    #68A6E3

    oklch(70.8% 0.111 249.3)

  6. Step 500

    500

    #398EDB

    oklch(63.2% 0.142 249.3)

  7. Step 600

    600

    #0476C9

    oklch(55.6% 0.155 249.7)

  8. Step 700

    700

    #0063AA

    oklch(49.1% 0.137 249.4)

  9. Step 800

    800

    #01518C

    oklch(42.7% 0.118 249.3)

  10. Step 900

    900

    #114470

    oklch(37.8% 0.092 249.2)

  11. Step 950

    950 (this color)

    #031E37

    oklch(23% 0.059 249.5)

Export this scale for Tailwind in the Tailwind colors tool

#031E37 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)#1220380.020
Deuteranopia (no green cones)#091B370.011
Tritanopia (no blue cones)#0024270.043
Achromatopsia (no color)#1D1D1D0.059

Harmonies

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

Complementary

The opposite hue (180°).

  • #031E37

    #031E37

    oklch(23% 0.059 249.5)

  • #2C1800

    #2C1800

    oklch(23.1% 0.05 69.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #031E37

    #031E37

    oklch(23% 0.059 249.5)

  • #00212A

    #00212A

    oklch(22.9% 0.042 219.6)

  • #181938

    #181938

    oklch(23.1% 0.059 279.4)

Open the analogous palette in the generator

Split complementary

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

  • #031E37

    #031E37

    oklch(23% 0.059 249.5)

  • #331106

    #331106

    oklch(23% 0.059 38.8)

  • #221D00

    #221D00

    oklch(22.9% 0.048 100.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #031E37

    #031E37

    oklch(23% 0.059 249.5)

  • #330F17

    #330F17

    oklch(23% 0.059 9.2)

  • #142201

    #142201

    oklch(23% 0.059 129.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #031E37

    #031E37

    oklch(23% 0.059 249.5)

  • #2E1026

    #2E1026

    oklch(23% 0.059 338.7)

  • #2C1800

    #2C1800

    oklch(23.1% 0.05 69.3)

  • #002414

    #002414

    oklch(23% 0.052 159.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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