#313758

Closest named color: Prussian Blue (#1D3557). oklch(34.7% 0.058 275.1), rgb(49, 55, 88).

Aa

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

About this color

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

Hue familyBlues
Lightnessdark (35%)
Chromamuted (0.058)
Temperaturecool
Nearest namePrussian Blue (#1D3557)
Black text1.81:1
White text11.55:1

Values

HEX#313758
RGBrgb(49, 55, 88)
HSLhsl(231, 28%, 27%)
OKLCHoklch(34.7% 0.058 275.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 #313758 11.55:1 AAA Lc -100.2 Preferred for body text
Black text on #313758 1.81:1 Fails Lc 7.3 Not readable
#313758 text on white 11.55:1 AAA Lc 96.5 Preferred for body text
#313758 text on black 1.81: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

    #F4F5F9

    oklch(97.1% 0.005 275)

  2. Step 100

    100

    #E7E9F3

    oklch(93.5% 0.014 277.1)

  3. Step 200

    200

    #D4D8EA

    oklch(88.5% 0.025 275.9)

  4. Step 300

    300

    #B8BFDD

    oklch(80.9% 0.043 275)

  5. Step 400

    400

    #949ECD

    oklch(70.8% 0.07 275.2)

  6. Step 500

    500

    #7A85C0

    oklch(63.1% 0.09 275.4)

  7. Step 600

    600

    #636EAC

    oklch(55.6% 0.097 275.1)

  8. Step 700

    700

    #525C94

    oklch(49.2% 0.09 274.9)

  9. Step 800

    800

    #434B78

    oklch(42.7% 0.075 275.1)

  10. Step 900

    900 (this color)

    #313758

    oklch(34.7% 0.058 275.1)

  11. Step 950

    950

    #212539

    oklch(27% 0.038 274.9)

Export this scale for Tailwind in the Tailwind colors tool

#313758 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)#2C3B590.013
Deuteranopia (no green cones)#2938570.012
Tritanopia (no blue cones)#253E430.052
Achromatopsia (no color)#3939390.058

Harmonies

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

Complementary

The opposite hue (180°).

  • #313758

    #313758

    oklch(34.7% 0.058 275.1)

  • #433911

    #433911

    oklch(34.6% 0.058 95.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #313758

    #313758

    oklch(34.7% 0.058 275.1)

  • #1D3D56

    #1D3D56

    oklch(34.8% 0.058 244.2)

  • #413252

    #413252

    oklch(34.8% 0.057 305.1)

Open the analogous palette in the generator

Split complementary

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

  • #313758

    #313758

    oklch(34.7% 0.058 275.1)

  • #4E3316

    #4E3316

    oklch(34.7% 0.058 65.7)

  • #333F1C

    #333F1C

    oklch(34.7% 0.058 124.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #313758

    #313758

    oklch(34.7% 0.058 275.1)

  • #542E25

    #542E25

    oklch(34.7% 0.058 34.2)

  • #1E432C

    #1E432C

    oklch(34.8% 0.059 154.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #313758

    #313758

    oklch(34.7% 0.058 275.1)

  • #532C36

    #532C36

    oklch(34.7% 0.059 4.1)

  • #433911

    #433911

    oklch(34.6% 0.058 95.1)

  • #06433E

    #06433E

    oklch(34.6% 0.058 186.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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