#313A5F

Closest named color: Prussian Blue (#1D3557). oklch(35.9% 0.065 272.4), rgb(49, 58, 95).

Aa

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

About this color

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

Hue familyBlues
Lightnessdark (36%)
Chromamuted (0.065)
Temperaturecool
Nearest namePrussian Blue (#1D3557)
Black text1.90:1
White text11.04:1

Values

HEX#313A5F
RGBrgb(49, 58, 95)
HSLhsl(228, 32%, 28%)
OKLCHoklch(35.9% 0.065 272.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 #313A5F 11.04:1 AAA Lc -99.3 Preferred for body text
Black text on #313A5F 1.90:1 Fails Lc 8.4 Not readable
#313A5F text on white 11.04:1 AAA Lc 95.5 Preferred for body text
#313A5F text on black 1.90: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

    #E6E9F4

    oklch(93.5% 0.015 273.8)

  3. Step 200

    200

    #D3D8EC

    oklch(88.4% 0.028 274.6)

  4. Step 300

    300

    #B5BFE1

    oklch(80.8% 0.049 272.4)

  5. Step 400

    400

    #909ED2

    oklch(70.7% 0.078 272.6)

  6. Step 500

    500

    #7585C6

    oklch(63.1% 0.1 272.7)

  7. Step 600

    600

    #5E6EB3

    oklch(55.6% 0.109 272.5)

  8. Step 700

    700

    #4D5C9A

    oklch(49.2% 0.101 272)

  9. Step 800

    800

    #3F4B7D

    oklch(42.7% 0.084 272.2)

  10. Step 900

    900 (this color)

    #313A5F

    oklch(35.9% 0.065 272.4)

  11. Step 950

    950

    #1F253B

    oklch(27% 0.042 271.7)

Export this scale for Tailwind in the Tailwind colors tool

#313A5F 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)#2D3E600.013
Deuteranopia (no green cones)#283A5E0.013
Tritanopia (no blue cones)#2142480.058
Achromatopsia (no color)#3C3C3C0.065

Harmonies

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

Complementary

The opposite hue (180°).

  • #313A5F

    #313A5F

    oklch(35.9% 0.065 272.4)

  • #493B0C

    #493B0C

    oklch(35.8% 0.065 91.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #313A5F

    #313A5F

    oklch(35.9% 0.065 272.4)

  • #19405C

    #19405C

    oklch(35.8% 0.066 242.9)

  • #433459

    #433459

    oklch(35.8% 0.065 301.9)

Open the analogous palette in the generator

Split complementary

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

  • #313A5F

    #313A5F

    oklch(35.9% 0.065 272.4)

  • #553414

    #553414

    oklch(35.8% 0.066 61.9)

  • #374218

    #374218

    oklch(35.9% 0.065 122)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #313A5F

    #313A5F

    oklch(35.9% 0.065 272.4)

  • #5A2F26

    #5A2F26

    oklch(35.9% 0.065 32.9)

  • #1E462B

    #1E462B

    oklch(35.7% 0.065 152.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #313A5F

    #313A5F

    oklch(35.9% 0.065 272.4)

  • #592D3A

    #592D3A

    oklch(35.9% 0.066 2.1)

  • #493B0C

    #493B0C

    oklch(35.8% 0.065 91.6)

  • #00473F

    #00473F

    oklch(35.7% 0.064 182.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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