#313D57

Closest named color: Dark Grey Blue (#29465B). oklch(36.1% 0.048 265), rgb(49, 61, 87).

Aa

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

About this color

#313D57 is a dark, muted blue. In OKLCH its lightness is 36%, its chroma 0.048 and its hue 265°. Its hue sits on the cool side of the wheel. The nearest named color is Dark Grey Blue (#29465B), ΔE 0.028 away. White text reads best on it, at 10.84:1.

Hue familyBlues
Lightnessdark (36%)
Chromamuted (0.048)
Temperaturecool
Nearest nameDark Grey Blue (#29465B)
Black text1.93:1
White text10.84:1

Values

HEX#313D57
RGBrgb(49, 61, 87)
HSLhsl(221, 28%, 27%)
OKLCHoklch(36.1% 0.048 265)

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

    #F4F5F9

    oklch(97.1% 0.005 275)

  2. Step 100

    100

    #E6EAF1

    oklch(93.6% 0.01 261.8)

  3. Step 200

    200

    #D3D9E7

    oklch(88.5% 0.02 267.3)

  4. Step 300

    300

    #B5C1D9

    oklch(80.9% 0.036 264.3)

  5. Step 400

    400

    #8FA1C5

    oklch(70.8% 0.057 264.1)

  6. Step 500

    500

    #7489B7

    oklch(63.1% 0.074 265.4)

  7. Step 600

    600

    #5C72A3

    oklch(55.5% 0.081 265.3)

  8. Step 700

    700

    #4C608B

    oklch(49.1% 0.074 264.7)

  9. Step 800

    800

    #3E4E71

    oklch(42.6% 0.062 265.1)

  10. Step 900

    900 (this color)

    #313D57

    oklch(36.1% 0.048 265)

  11. Step 950

    950

    #1F2636

    oklch(26.9% 0.032 266.1)

Export this scale for Tailwind in the Tailwind colors tool

#313D57 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)#343F580.008
Deuteranopia (no green cones)#303C560.004
Tritanopia (no blue cones)#2442460.043
Achromatopsia (no color)#3D3D3D0.048

Harmonies

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

Complementary

The opposite hue (180°).

  • #313D57

    #313D57

    oklch(36.1% 0.048 265)

  • #493B1E

    #493B1E

    oklch(36% 0.048 84.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #313D57

    #313D57

    oklch(36.1% 0.048 265)

  • #224153

    #224153

    oklch(36% 0.048 235.7)

  • #3F3854

    #3F3854

    oklch(36% 0.048 295.3)

Open the analogous palette in the generator

Split complementary

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

  • #313D57

    #313D57

    oklch(36.1% 0.048 265)

  • #513724

    #513724

    oklch(36.2% 0.048 56.7)

  • #3C4022

    #3C4022

    oklch(35.9% 0.048 115.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #313D57

    #313D57

    oklch(36.1% 0.048 265)

  • #543331

    #543331

    oklch(36.1% 0.048 23.5)

  • #2D442E

    #2D442E

    oklch(36.1% 0.047 145.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #313D57

    #313D57

    oklch(36.1% 0.048 265)

  • #52333F

    #52333F

    oklch(36.2% 0.048 354.9)

  • #493B1E

    #493B1E

    oklch(36% 0.048 84.2)

  • #1E463C

    #1E463C

    oklch(36.2% 0.049 174.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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