#313651

Closest named color: Prussian Blue (#1D3557). oklch(34.1% 0.048 275.5), rgb(49, 54, 81).

Aa

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

About this color

#313651 is a dark, muted blue. In OKLCH its lightness is 34%, its chroma 0.048 and its hue 276°. Its hue sits on the cool side of the wheel. The nearest named color is Prussian Blue (#1D3557), ΔE 0.030 away. White text reads best on it, at 11.81:1.

Hue familyBlues
Lightnessdark (34%)
Chromamuted (0.048)
Temperaturecool
Nearest namePrussian Blue (#1D3557)
Black text1.77:1
White text11.81:1

Values

HEX#313651
RGBrgb(49, 54, 81)
HSLhsl(231, 25%, 25%)
OKLCHoklch(34.1% 0.048 275.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 #313651 11.81:1 AAA Lc -100.7 Preferred for body text
Black text on #313651 1.77:1 Fails Lc 0.0 Not readable
#313651 text on white 11.81:1 AAA Lc 97.1 Preferred for body text
#313651 text on black 1.77: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

    #E8E9F1

    oklch(93.6% 0.011 280.5)

  3. Step 200

    200

    #D5D8E7

    oklch(88.4% 0.021 276.9)

  4. Step 300

    300

    #BABFD8

    oklch(80.9% 0.036 276.6)

  5. Step 400

    400

    #969EC5

    oklch(70.7% 0.058 275.8)

  6. Step 500

    500

    #7D86B6

    oklch(63.1% 0.073 275.9)

  7. Step 600

    600

    #666FA2

    oklch(55.5% 0.08 275.8)

  8. Step 700

    700

    #555D8B

    oklch(49.1% 0.074 275.8)

  9. Step 800

    800

    #454C71

    oklch(42.7% 0.062 275.3)

  10. Step 900

    900 (this color)

    #313651

    oklch(34.1% 0.048 275.5)

  11. Step 950

    950

    #222535

    oklch(26.9% 0.03 276)

Export this scale for Tailwind in the Tailwind colors tool

#313651 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)#2D39520.010
Deuteranopia (no green cones)#2B36500.010
Tritanopia (no blue cones)#283B400.041
Achromatopsia (no color)#3737370.048

Harmonies

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

Complementary

The opposite hue (180°).

  • #313651

    #313651

    oklch(34.1% 0.048 275.5)

  • #403819

    #403819

    oklch(34.1% 0.048 95.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #313651

    #313651

    oklch(34.1% 0.048 275.5)

  • #223B4F

    #223B4F

    oklch(34.1% 0.047 243.9)

  • #3E324C

    #3E324C

    oklch(34.1% 0.047 305.2)

Open the analogous palette in the generator

Split complementary

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

  • #313651

    #313651

    oklch(34.1% 0.048 275.5)

  • #49331C

    #49331C

    oklch(34.1% 0.048 66.3)

  • #323D20

    #323D20

    oklch(34.2% 0.049 125.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #313651

    #313651

    oklch(34.1% 0.048 275.5)

  • #4E2F27

    #4E2F27

    oklch(34.1% 0.048 35.2)

  • #22402D

    #22402D

    oklch(34.2% 0.049 155)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #313651

    #313651

    oklch(34.1% 0.048 275.5)

  • #4D2D34

    #4D2D34

    oklch(33.9% 0.048 5.8)

  • #403819

    #403819

    oklch(34.1% 0.048 95.2)

  • #15403C

    #15403C

    oklch(34% 0.048 186.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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