#313D56

Closest named color: Dark Grey Blue (#29465B). oklch(36.1% 0.046 264.4), rgb(49, 61, 86).

Aa

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

About this color

#313D56 is a dark, muted blue. In OKLCH its lightness is 36%, its chroma 0.046 and its hue 264°. 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.86:1.

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

Values

HEX#313D56
RGBrgb(49, 61, 86)
HSLhsl(221, 27%, 26%)
OKLCHoklch(36.1% 0.046 264.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 #313D56 10.86:1 AAA Lc -99.0 Preferred for body text
Black text on #313D56 1.93:1 Fails Lc 8.8 Not readable
#313D56 text on white 10.86:1 AAA Lc 95.1 Preferred for body text
#313D56 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

    #D3D9E6

    oklch(88.5% 0.019 266)

  4. Step 300

    300

    #B5C1D8

    oklch(80.9% 0.035 263.5)

  5. Step 400

    400

    #8FA1C4

    oklch(70.7% 0.055 263.6)

  6. Step 500

    500

    #7489B5

    oklch(63.1% 0.071 264.7)

  7. Step 600

    600

    #5C73A1

    oklch(55.6% 0.077 263.6)

  8. Step 700

    700

    #4C608A

    oklch(49.1% 0.072 264.4)

  9. Step 800

    800

    #3F4E70

    oklch(42.6% 0.06 265.7)

  10. Step 900

    900 (this color)

    #313D56

    oklch(36.1% 0.046 264.4)

  11. Step 950

    950

    #1F2635

    oklch(26.9% 0.03 265.1)

Export this scale for Tailwind in the Tailwind colors tool

#313D56 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)#343F570.008
Deuteranopia (no green cones)#313B550.006
Tritanopia (no blue cones)#2542460.041
Achromatopsia (no color)#3D3D3D0.046

Harmonies

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

Complementary

The opposite hue (180°).

  • #313D56

    #313D56

    oklch(36.1% 0.046 264.4)

  • #493B20

    #493B20

    oklch(36% 0.046 82.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #313D56

    #313D56

    oklch(36.1% 0.046 264.4)

  • #234152

    #234152

    oklch(36% 0.046 234.9)

  • #3F3853

    #3F3853

    oklch(36% 0.047 295.9)

Open the analogous palette in the generator

Split complementary

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

  • #313D56

    #313D56

    oklch(36.1% 0.046 264.4)

  • #503725

    #503725

    oklch(36.1% 0.046 56.4)

  • #3D4023

    #3D4023

    oklch(36.1% 0.046 113.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #313D56

    #313D56

    oklch(36.1% 0.046 264.4)

  • #533431

    #533431

    oklch(36.1% 0.046 25.6)

  • #2E442E

    #2E442E

    oklch(36.1% 0.046 144.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #313D56

    #313D56

    oklch(36.1% 0.046 264.4)

  • #51333F

    #51333F

    oklch(36.1% 0.047 354.1)

  • #493B20

    #493B20

    oklch(36% 0.046 82.8)

  • #20453C

    #20453C

    oklch(36% 0.046 175.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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