#031C39

Closest named color: Rich Black (#0D1B2A). oklch(22.6% 0.064 253.8), rgb(3, 28, 57).

Aa

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

About this color

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

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

Values

HEX#031C39
RGBrgb(3, 28, 57)
HSLhsl(212, 90%, 12%)
OKLCHoklch(22.6% 0.064 253.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 #031C39 17.08:1 AAA Lc -106.1 Preferred for body text
Black text on #031C39 1.22:1 Fails Lc 0.0 Not readable
#031C39 text on white 17.08:1 AAA Lc 103.7 Preferred for body text
#031C39 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

    #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

    #9FC4F1

    oklch(80.9% 0.075 253.6)

  5. Step 400

    400

    #68A4EB

    oklch(70.8% 0.122 253.5)

  6. Step 500

    500

    #3C8BE5

    oklch(63.2% 0.156 253.9)

  7. Step 600

    600

    #0F73D3

    oklch(55.7% 0.169 253.7)

  8. Step 700

    700

    #0060B5

    oklch(49.2% 0.155 253.6)

  9. Step 800

    800

    #074E94

    oklch(42.6% 0.131 254.1)

  10. Step 900

    900

    #134276

    oklch(37.8% 0.102 254)

  11. Step 950

    950 (this color)

    #031C39

    oklch(22.6% 0.064 253.8)

Export this scale for Tailwind in the Tailwind colors tool

#031C39 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)#0D1E3A0.014
Deuteranopia (no green cones)#0319380.010
Tritanopia (no blue cones)#0023270.049
Achromatopsia (no color)#1C1C1C0.064

Harmonies

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

Complementary

The opposite hue (180°).

  • #031C39

    #031C39

    oklch(22.6% 0.064 253.8)

  • #291800

    #291800

    oklch(22.6% 0.048 74.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #031C39

    #031C39

    oklch(22.6% 0.064 253.8)

  • #00202B

    #00202B

    oklch(22.6% 0.043 224.8)

  • #191639

    #191639

    oklch(22.6% 0.066 283.7)

Open the analogous palette in the generator

Split complementary

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

  • #031C39

    #031C39

    oklch(22.6% 0.064 253.8)

  • #330F01

    #330F01

    oklch(22.5% 0.064 43.2)

  • #201D00

    #201D00

    oklch(22.7% 0.048 104.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #031C39

    #031C39

    oklch(22.6% 0.064 253.8)

  • #340C13

    #340C13

    oklch(22.6% 0.064 13.5)

  • #0E2200

    #0E2200

    oklch(22.6% 0.065 134)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #031C39

    #031C39

    oklch(22.6% 0.064 253.8)

  • #300D23

    #300D23

    oklch(22.7% 0.065 344.8)

  • #291800

    #291800

    oklch(22.6% 0.048 74.2)

  • #002316

    #002316

    oklch(22.7% 0.048 164.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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