#31395D

Closest named color: Prussian Blue (#1D3557). oklch(35.5% 0.064 273.2), rgb(49, 57, 93).

Aa

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

About this color

#31395D is a dark, muted blue. In OKLCH its lightness is 35%, its chroma 0.064 and its hue 273°. Its hue sits on the cool side of the wheel. The nearest named color is Prussian Blue (#1D3557), ΔE 0.033 away. White text reads best on it, at 11.20:1.

Hue familyBlues
Lightnessdark (35%)
Chromamuted (0.064)
Temperaturecool
Nearest namePrussian Blue (#1D3557)
Black text1.87:1
White text11.20:1

Values

HEX#31395D
RGBrgb(49, 57, 93)
HSLhsl(229, 31%, 28%)
OKLCHoklch(35.5% 0.064 273.2)

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 #31395D 11.20:1 AAA Lc -99.6 Preferred for body text
Black text on #31395D 1.87:1 Fails Lc 8.1 Not readable
#31395D text on white 11.20:1 AAA Lc 95.8 Preferred for body text
#31395D text on black 1.87: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 900.

  1. Step 50

    50

    #F4F5FA

    oklch(97.1% 0.007 277.2)

  2. Step 100

    100

    #E7E9F3

    oklch(93.5% 0.014 277.1)

  3. Step 200

    200

    #D3D8EB

    oklch(88.4% 0.027 274.1)

  4. Step 300

    300

    #B6BFE0

    oklch(80.8% 0.048 273.3)

  5. Step 400

    400

    #919ED1

    oklch(70.8% 0.076 273.2)

  6. Step 500

    500

    #7685C5

    oklch(63.1% 0.098 273.2)

  7. Step 600

    600

    #5F6EB1

    oklch(55.6% 0.106 273)

  8. Step 700

    700

    #4F5C98

    oklch(49.2% 0.097 273.1)

  9. Step 800

    800

    #414B7C

    oklch(42.8% 0.082 273.7)

  10. Step 900

    900 (this color)

    #31395D

    oklch(35.5% 0.064 273.2)

  11. Step 950

    950

    #20253A

    oklch(27% 0.04 273.2)

Export this scale for Tailwind in the Tailwind colors tool

#31395D 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)#2C3D5E0.013
Deuteranopia (no green cones)#28395C0.013
Tritanopia (no blue cones)#2240460.056
Achromatopsia (no color)#3B3B3B0.064

Harmonies

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

Complementary

The opposite hue (180°).

  • #31395D

    #31395D

    oklch(35.5% 0.064 273.2)

  • #473B0D

    #473B0D

    oklch(35.5% 0.064 93.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #31395D

    #31395D

    oklch(35.5% 0.064 273.2)

  • #1A3F5A

    #1A3F5A

    oklch(35.4% 0.063 243.1)

  • #433357

    #433357

    oklch(35.5% 0.064 303.8)

Open the analogous palette in the generator

Split complementary

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

  • #31395D

    #31395D

    oklch(35.5% 0.064 273.2)

  • #533414

    #533414

    oklch(35.5% 0.064 63.8)

  • #354119

    #354119

    oklch(35.4% 0.063 123.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #31395D

    #31395D

    oklch(35.5% 0.064 273.2)

  • #582F25

    #582F25

    oklch(35.5% 0.063 34.6)

  • #1E452C

    #1E452C

    oklch(35.4% 0.063 153.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #31395D

    #31395D

    oklch(35.5% 0.064 273.2)

  • #572D38

    #572D38

    oklch(35.5% 0.063 4)

  • #473B0D

    #473B0D

    oklch(35.5% 0.064 93.9)

  • #00463F

    #00463F

    oklch(35.4% 0.063 183.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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