#313B61

Closest named color: Prussian Blue (#1D3557). oklch(36.2% 0.067 271.5), rgb(49, 59, 97).

Aa

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

About this color

#313B61 is a dark, muted blue. In OKLCH its lightness is 36%, its chroma 0.067 and its hue 272°. Its hue sits on the cool side of the wheel. The nearest named color is Prussian Blue (#1D3557), ΔE 0.038 away. White text reads best on it, at 10.88:1.

Hue familyBlues
Lightnessdark (36%)
Chromamuted (0.067)
Temperaturecool
Nearest namePrussian Blue (#1D3557)
Black text1.92:1
White text10.88:1

Values

HEX#313B61
RGBrgb(49, 59, 97)
HSLhsl(228, 33%, 29%)
OKLCHoklch(36.2% 0.067 271.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 #313B61 10.88:1 AAA Lc -99.0 Preferred for body text
Black text on #313B61 1.92:1 Fails Lc 8.8 Not readable
#313B61 text on white 10.88:1 AAA Lc 95.1 Preferred for body text
#313B61 text on black 1.92:1 Fails Lc -7.5 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

    #E6EAF4

    oklch(93.7% 0.014 268.5)

  3. Step 200

    200

    #D2D9EC

    oklch(88.6% 0.027 269.6)

  4. Step 300

    300

    #B5BFE2

    oklch(80.8% 0.051 272.7)

  5. Step 400

    400

    #8E9ED4

    oklch(70.7% 0.081 271.5)

  6. Step 500

    500

    #7385C8

    oklch(63% 0.103 271.7)

  7. Step 600

    600

    #5C6EB5

    oklch(55.6% 0.112 271.6)

  8. Step 700

    700

    #4C5C9C

    oklch(49.2% 0.104 271.5)

  9. Step 800

    800

    #3E4B7E

    oklch(42.7% 0.086 271.5)

  10. Step 900

    900 (this color)

    #313B61

    oklch(36.2% 0.067 271.5)

  11. Step 950

    950

    #1F253B

    oklch(27% 0.042 271.7)

Export this scale for Tailwind in the Tailwind colors tool

#313B61 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)#2D3F630.013
Deuteranopia (no green cones)#283B600.013
Tritanopia (no blue cones)#1F43490.060
Achromatopsia (no color)#3D3D3D0.067

Harmonies

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

Complementary

The opposite hue (180°).

  • #313B61

    #313B61

    oklch(36.2% 0.067 271.5)

  • #4B3C0B

    #4B3C0B

    oklch(36.3% 0.067 90.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #313B61

    #313B61

    oklch(36.2% 0.067 271.5)

  • #18425E

    #18425E

    oklch(36.4% 0.067 241.3)

  • #44355B

    #44355B

    oklch(36.3% 0.066 301.4)

Open the analogous palette in the generator

Split complementary

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

  • #313B61

    #313B61

    oklch(36.2% 0.067 271.5)

  • #573514

    #573514

    oklch(36.3% 0.067 61.8)

  • #384317

    #384317

    oklch(36.2% 0.067 121.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #313B61

    #313B61

    oklch(36.2% 0.067 271.5)

  • #5C2F27

    #5C2F27

    oklch(36.2% 0.068 31.2)

  • #1F482B

    #1F482B

    oklch(36.3% 0.068 151.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #313B61

    #313B61

    oklch(36.2% 0.067 271.5)

  • #5A2E3B

    #5A2E3B

    oklch(36.3% 0.066 2)

  • #4B3C0B

    #4B3C0B

    oklch(36.3% 0.067 90.9)

  • #004940

    #004940

    oklch(36.4% 0.065 181.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #313B61 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.