#31537D

Closest named color: Light Navy Blue (#2E5A88). oklch(43.7% 0.08 254.5), rgb(49, 83, 125).

Aa

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

About this color

#31537D is a dark, moderately saturated blue. In OKLCH its lightness is 44%, its chroma 0.080 and its hue 255°. Its hue sits on the cool side of the wheel. The nearest named color is Light Navy Blue (#2E5A88), ΔE 0.024 away. White text reads best on it, at 7.88:1.

Hue familyBlues
Lightnessdark (44%)
Chromamoderately saturated (0.080)
Temperaturecool
Nearest nameLight Navy Blue (#2E5A88)
Black text2.66:1
White text7.88:1

Values

HEX#31537D
RGBrgb(49, 83, 125)
HSLhsl(213, 44%, 34%)
OKLCHoklch(43.7% 0.08 254.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 #31537D 7.88:1 AAA Lc -91.9 Preferred for body text
Black text on #31537D 2.66:1 Fails Lc 16.8 Dividers and decoration only
#31537D text on white 7.88:1 AAA Lc 87.2 Fine for body text
#31537D text on black 2.66:1 Fails Lc -14.9 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 800.

  1. Step 50

    50

    #F3F6FA

    oklch(97.2% 0.006 255.5)

  2. Step 100

    100

    #E4EBF3

    oklch(93.7% 0.013 251.6)

  3. Step 200

    200

    #CEDAEB

    oklch(88.4% 0.027 257)

  4. Step 300

    300

    #ACC3DF

    oklch(80.9% 0.047 253.5)

  5. Step 400

    400

    #81A3CF

    oklch(70.7% 0.075 255.1)

  6. Step 500

    500

    #608CC3

    oklch(63.1% 0.097 254.5)

  7. Step 600

    600

    #4675AF

    oklch(55.5% 0.105 254.5)

  8. Step 700

    700

    #386297

    oklch(49.1% 0.098 255.1)

  9. Step 800

    800 (this color)

    #31537D

    oklch(43.7% 0.08 254.5)

  10. Step 900

    900

    #2A4362

    oklch(37.8% 0.062 254.4)

  11. Step 950

    950

    #19273A

    oklch(27% 0.041 256.3)

Export this scale for Tailwind in the Tailwind colors tool

#31537D 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)#42557F0.023
Deuteranopia (no green cones)#384E7C0.016
Tritanopia (no blue cones)#005D620.070
Achromatopsia (no color)#5151510.080

Harmonies

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

Complementary

The opposite hue (180°).

  • #31537D

    #31537D

    oklch(43.7% 0.08 254.5)

  • #6B4A16

    #6B4A16

    oklch(43.6% 0.08 74.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #31537D

    #31537D

    oklch(43.7% 0.08 254.5)

  • #065A73

    #065A73

    oklch(43.6% 0.081 225.5)

  • #4D4B7C

    #4D4B7C

    oklch(43.7% 0.08 284.5)

Open the analogous palette in the generator

Split complementary

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

  • #31537D

    #31537D

    oklch(43.7% 0.08 254.5)

  • #76422A

    #76422A

    oklch(43.7% 0.081 44.8)

  • #595416

    #595416

    oklch(43.8% 0.081 104.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #31537D

    #31537D

    oklch(43.7% 0.08 254.5)

  • #773E44

    #773E44

    oklch(43.7% 0.079 14.2)

  • #3E5B2C

    #3E5B2C

    oklch(43.6% 0.08 134.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #31537D

    #31537D

    oklch(43.7% 0.08 254.5)

  • #703E5C

    #703E5C

    oklch(43.5% 0.081 344.1)

  • #6B4A16

    #6B4A16

    oklch(43.6% 0.08 74.5)

  • #1A5F46

    #1A5F46

    oklch(43.6% 0.08 164.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #31537D 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.