#031C3F

Closest named color: Navy Blue (#001146). oklch(23.1% 0.074 257.1), rgb(3, 28, 63).

Aa

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

About this color

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

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

Values

HEX#031C3F
RGBrgb(3, 28, 63)
HSLhsl(215, 91%, 13%)
OKLCHoklch(23.1% 0.074 257.1)

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

    #F1F6FE

    oklch(97.2% 0.012 259.8)

  2. Step 100

    100

    #DFEBFB

    oklch(93.6% 0.025 255.6)

  3. Step 200

    200

    #C5DBFA

    oklch(88.5% 0.049 256.9)

  4. Step 300

    300

    #9DC3F9

    oklch(80.9% 0.087 257.2)

  5. Step 400

    400

    #65A2F7

    oklch(70.8% 0.14 256.9)

  6. Step 500

    500

    #3787F3

    oklch(63% 0.18 257.1)

  7. Step 600

    600

    #066EE2

    oklch(55.6% 0.195 257.1)

  8. Step 700

    700

    #005CC1

    oklch(49.2% 0.175 257.1)

  9. Step 800

    800

    #024B9F

    oklch(42.7% 0.151 257.1)

  10. Step 900

    900

    #10407E

    oklch(37.8% 0.117 257)

  11. Step 950

    950 (this color)

    #031C3F

    oklch(23.1% 0.074 257.1)

Export this scale for Tailwind in the Tailwind colors tool

#031C3F 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)#0720400.015
Deuteranopia (no green cones)#001A3E0.008
Tritanopia (no blue cones)#00252A0.057
Achromatopsia (no color)#1D1D1D0.074

Harmonies

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

Complementary

The opposite hue (180°).

  • #031C3F

    #031C3F

    oklch(23.1% 0.074 257.1)

  • #2A1A00

    #2A1A00

    oklch(23.3% 0.049 77.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #031C3F

    #031C3F

    oklch(23.1% 0.074 257.1)

  • #00212D

    #00212D

    oklch(23.1% 0.044 226.4)

  • #1C153D

    #1C153D

    oklch(23% 0.074 287.2)

Open the analogous palette in the generator

Split complementary

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

  • #031C3F

    #031C3F

    oklch(23.1% 0.074 257.1)

  • #341100

    #341100

    oklch(23.1% 0.064 46.9)

  • #201F00

    #201F00

    oklch(23.3% 0.05 108)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #031C3F

    #031C3F

    oklch(23.1% 0.074 257.1)

  • #390910

    #390910

    oklch(23.2% 0.075 17.2)

  • #0A2400

    #0A2400

    oklch(23.1% 0.07 137.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #031C3F

    #031C3F

    oklch(23.1% 0.074 257.1)

  • #340A24

    #340A24

    oklch(23.1% 0.075 346.5)

  • #2A1A00

    #2A1A00

    oklch(23.3% 0.049 77.5)

  • #002418

    #002418

    oklch(23.1% 0.048 166.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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