#313A67

Closest named color: Prussian Blue (#1D3557). oklch(36.4% 0.078 273.4), rgb(49, 58, 103).

Aa

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

About this color

#313A67 is a dark, moderately saturated blue. In OKLCH its lightness is 36%, its chroma 0.078 and its hue 273°. Its hue sits on the cool side of the wheel. The nearest named color is Prussian Blue (#1D3557), ΔE 0.043 away. White text reads best on it, at 10.87:1.

Hue familyBlues
Lightnessdark (36%)
Chromamoderately saturated (0.078)
Temperaturecool
Nearest namePrussian Blue (#1D3557)
Black text1.93:1
White text10.87:1

Values

HEX#313A67
RGBrgb(49, 58, 103)
HSLhsl(230, 36%, 30%)
OKLCHoklch(36.4% 0.078 273.4)

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 #313A67 10.87:1 AAA Lc -99.0 Preferred for body text
Black text on #313A67 1.93:1 Fails Lc 8.8 Not readable
#313A67 text on white 10.87:1 AAA Lc 95.1 Preferred for body text
#313A67 text on black 1.93:1 Fails Lc -7.6 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

    #F4F5FB

    oklch(97.1% 0.008 278.6)

  2. Step 100

    100

    #E6E9F6

    oklch(93.6% 0.018 275.6)

  3. Step 200

    200

    #D2D8EF

    oklch(88.5% 0.032 274.1)

  4. Step 300

    300

    #B4BFE7

    oklch(81% 0.058 273)

  5. Step 400

    400

    #8D9DDC

    oklch(70.8% 0.094 272.8)

  6. Step 500

    500

    #7283D2

    oklch(63.1% 0.121 273.3)

  7. Step 600

    600

    #5B6BBF

    oklch(55.5% 0.131 273.3)

  8. Step 700

    700

    #4B59A5

    oklch(49.1% 0.122 273.2)

  9. Step 800

    800

    #3E4986

    oklch(42.7% 0.102 273.6)

  10. Step 900

    900 (this color)

    #313A67

    oklch(36.4% 0.078 273.4)

  11. Step 950

    950

    #1F243F

    oklch(27% 0.051 274.5)

Export this scale for Tailwind in the Tailwind colors tool

#313A67 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)#283F690.018
Deuteranopia (no green cones)#233B660.019
Tritanopia (no blue cones)#1B444B0.071
Achromatopsia (no color)#3D3D3D0.079

Harmonies

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

Complementary

The opposite hue (180°).

  • #313A67

    #313A67

    oklch(36.4% 0.078 273.4)

  • #4B3D00

    #4B3D00

    oklch(36.4% 0.075 94.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #313A67

    #313A67

    oklch(36.4% 0.078 273.4)

  • #0F4264

    #0F4264

    oklch(36.5% 0.078 243.2)

  • #473360

    #473360

    oklch(36.5% 0.078 303.2)

Open the analogous palette in the generator

Split complementary

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

  • #313A67

    #313A67

    oklch(36.4% 0.078 273.4)

  • #5A3306

    #5A3306

    oklch(36.2% 0.078 62.9)

  • #36440E

    #36440E

    oklch(36.2% 0.078 123.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #313A67

    #313A67

    oklch(36.4% 0.078 273.4)

  • #612D21

    #612D21

    oklch(36.5% 0.079 34.2)

  • #144A2A

    #144A2A

    oklch(36.5% 0.079 153.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #313A67

    #313A67

    oklch(36.4% 0.078 273.4)

  • #5F2A3A

    #5F2A3A

    oklch(36.3% 0.079 2.8)

  • #4B3D00

    #4B3D00

    oklch(36.4% 0.075 94.3)

  • #004941

    #004941

    oklch(36.4% 0.065 182.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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