#031738

Closest named color: Navy Blue (#001146). oklch(21.2% 0.07 258.8), rgb(3, 23, 56).

Aa

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

About this color

#031738 is a very dark, moderately saturated blue. In OKLCH its lightness is 21%, its chroma 0.070 and its hue 259°. Its hue sits on the cool side of the wheel. The nearest named color is Navy Blue (#001146), ΔE 0.033 away. White text reads best on it, at 17.74:1.

Hue familyBlues
Lightnessvery dark (21%)
Chromamoderately saturated (0.070)
Temperaturecool
Nearest nameNavy Blue (#001146)
Black text1.18:1
White text17.74:1

Values

HEX#031738
RGBrgb(3, 23, 56)
HSLhsl(217, 90%, 12%)
OKLCHoklch(21.2% 0.07 258.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 #031738 17.74:1 AAA Lc -106.6 Preferred for body text
Black text on #031738 1.18:1 Fails Lc 0.0 Not readable
#031738 text on white 17.74:1 AAA Lc 104.3 Preferred for body text
#031738 text on black 1.18: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

    #F1F6FD

    oklch(97.1% 0.011 256.7)

  2. Step 100

    100

    #E0EBFA

    oklch(93.6% 0.024 256.1)

  3. Step 200

    200

    #C7DBF8

    oklch(88.6% 0.046 257.6)

  4. Step 300

    300

    #A0C2F7

    oklch(80.8% 0.084 259.1)

  5. Step 400

    400

    #6CA1F2

    oklch(70.7% 0.132 258.6)

  6. Step 500

    500

    #4487EE

    oklch(63.1% 0.169 258.8)

  7. Step 600

    600

    #226EDC

    oklch(55.6% 0.184 258.6)

  8. Step 700

    700

    #155BBF

    oklch(49.1% 0.171 258.8)

  9. Step 800

    800

    #154B9B

    oklch(42.7% 0.142 258.9)

  10. Step 900

    900

    #183F7B

    oklch(37.6% 0.111 259)

  11. Step 950

    950 (this color)

    #031738

    oklch(21.2% 0.07 258.8)

Export this scale for Tailwind in the Tailwind colors tool

#031738 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)#031B390.013
Deuteranopia (no green cones)#0016370.006
Tritanopia (no blue cones)#001F240.054
Achromatopsia (no color)#1818180.070

Harmonies

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

Complementary

The opposite hue (180°).

  • #031738

    #031738

    oklch(21.2% 0.07 258.8)

  • #231600

    #231600

    oklch(21.2% 0.044 80.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #031738

    #031738

    oklch(21.2% 0.07 258.8)

  • #001C28

    #001C28

    oklch(21.2% 0.042 229.3)

  • #191136

    #191136

    oklch(21.2% 0.069 289.1)

Open the analogous palette in the generator

Split complementary

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

  • #031738

    #031738

    oklch(21.2% 0.07 258.8)

  • #2D0F00

    #2D0F00

    oklch(21.3% 0.057 49.1)

  • #1B1A00

    #1B1A00

    oklch(21.2% 0.046 107.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #031738

    #031738

    oklch(21.2% 0.07 258.8)

  • #32060B

    #32060B

    oklch(21.1% 0.07 19)

  • #061F00

    #061F00

    oklch(21.1% 0.066 138.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #031738

    #031738

    oklch(21.2% 0.07 258.8)

  • #2E071E

    #2E071E

    oklch(21.1% 0.07 348.3)

  • #231600

    #231600

    oklch(21.2% 0.044 80.4)

  • #001F15

    #001F15

    oklch(21.3% 0.043 168)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #031738 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.