#031C40

Closest named color: Navy Blue (#001146). oklch(23.2% 0.076 257.5), rgb(3, 28, 64).

Aa

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

About this color

#031C40 is a very dark, moderately saturated blue. In OKLCH its lightness is 23%, its chroma 0.076 and its hue 258°. Its hue sits on the cool side of the wheel. The nearest named color is Navy Blue (#001146), ΔE 0.035 away. White text reads best on it, at 16.88:1.

Hue familyBlues
Lightnessvery dark (23%)
Chromamoderately saturated (0.076)
Temperaturecool
Nearest nameNavy Blue (#001146)
Black text1.24:1
White text16.88:1

Values

HEX#031C40
RGBrgb(3, 28, 64)
HSLhsl(215, 91%, 13%)
OKLCHoklch(23.2% 0.076 257.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 #031C40 16.88:1 AAA Lc -106.0 Preferred for body text
Black text on #031C40 1.24:1 Fails Lc 0.0 Not readable
#031C40 text on white 16.88:1 AAA Lc 103.5 Preferred for body text
#031C40 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

    #F0F6FE

    oklch(97.1% 0.012 255.5)

  2. Step 100

    100

    #DFEBFC

    oklch(93.6% 0.026 257)

  3. Step 200

    200

    #C5DBFB

    oklch(88.5% 0.05 257.7)

  4. Step 300

    300

    #9CC3FB

    oklch(80.9% 0.09 257.4)

  5. Step 400

    400

    #65A1F8

    oklch(70.6% 0.143 257.7)

  6. Step 500

    500

    #3687F5

    oklch(63.1% 0.182 257.3)

  7. Step 600

    600

    #056DE4

    oklch(55.6% 0.199 257.5)

  8. Step 700

    700

    #005BC3

    oklch(49.1% 0.179 257.6)

  9. Step 800

    800

    #024AA0

    oklch(42.6% 0.153 257.6)

  10. Step 900

    900

    #0F3F7F

    oklch(37.6% 0.119 257.5)

  11. Step 950

    950 (this color)

    #031C40

    oklch(23.2% 0.076 257.5)

Export this scale for Tailwind in the Tailwind colors tool

#031C40 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)#0620410.014
Deuteranopia (no green cones)#001A3F0.008
Tritanopia (no blue cones)#00252A0.059
Achromatopsia (no color)#1D1D1D0.076

Harmonies

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

Complementary

The opposite hue (180°).

  • #031C40

    #031C40

    oklch(23.2% 0.076 257.5)

  • #2A1A00

    #2A1A00

    oklch(23.3% 0.049 77.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #031C40

    #031C40

    oklch(23.2% 0.076 257.5)

  • #00212E

    #00212E

    oklch(23.2% 0.045 228.5)

  • #1D153E

    #1D153E

    oklch(23.2% 0.075 288.1)

Open the analogous palette in the generator

Split complementary

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

  • #031C40

    #031C40

    oklch(23.2% 0.076 257.5)

  • #341200

    #341200

    oklch(23.2% 0.063 48.4)

  • #201F00

    #201F00

    oklch(23.3% 0.05 108)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #031C40

    #031C40

    oklch(23.2% 0.076 257.5)

  • #390910

    #390910

    oklch(23.2% 0.075 17.2)

  • #0A2500

    #0A2500

    oklch(23.4% 0.072 137.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #031C40

    #031C40

    oklch(23.2% 0.076 257.5)

  • #350A24

    #350A24

    oklch(23.2% 0.076 347.4)

  • #2A1A00

    #2A1A00

    oklch(23.3% 0.049 77.5)

  • #002419

    #002419

    oklch(23.1% 0.047 168.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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