#313D54

Closest named color: Dark Grey Blue (#29465B). oklch(36% 0.043 263), rgb(49, 61, 84).

Aa

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

About this color

#313D54 is a dark, muted blue. In OKLCH its lightness is 36%, its chroma 0.043 and its hue 263°. 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.90:1.

Hue familyBlues
Lightnessdark (36%)
Chromamuted (0.043)
Temperaturecool
Nearest nameDark Grey Blue (#29465B)
Black text1.92:1
White text10.90:1

Values

HEX#313D54
RGBrgb(49, 61, 84)
HSLhsl(219, 26%, 26%)
OKLCHoklch(36% 0.043 263)

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 #313D54 10.90:1 AAA Lc -99.1 Preferred for body text
Black text on #313D54 1.92:1 Fails Lc 8.7 Not readable
#313D54 text on white 10.90:1 AAA Lc 95.2 Preferred for body text
#313D54 text on black 1.92:1 Fails Lc -7.4 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

    #F4F5F8

    oklch(97% 0.004 271.4)

  2. Step 100

    100

    #E6EAF0

    oklch(93.6% 0.009 258.3)

  3. Step 200

    200

    #D3D9E5

    oklch(88.4% 0.018 264.5)

  4. Step 300

    300

    #B6C1D6

    oklch(80.9% 0.032 263.5)

  5. Step 400

    400

    #90A1C2

    oklch(70.7% 0.052 263.6)

  6. Step 500

    500

    #748AB2

    oklch(63.1% 0.066 262.2)

  7. Step 600

    600

    #5D739E

    oklch(55.6% 0.072 263.3)

  8. Step 700

    700

    #4D6187

    oklch(49.2% 0.066 262.8)

  9. Step 800

    800

    #3F4F6E

    oklch(42.8% 0.056 263.2)

  10. Step 900

    900 (this color)

    #313D54

    oklch(36% 0.043 263)

  11. Step 950

    950

    #1F2634

    oklch(26.8% 0.028 263.9)

Export this scale for Tailwind in the Tailwind colors tool

#313D54 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)#353F550.009
Deuteranopia (no green cones)#313B530.006
Tritanopia (no blue cones)#2642450.039
Achromatopsia (no color)#3D3D3D0.043

Harmonies

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

Complementary

The opposite hue (180°).

  • #313D54

    #313D54

    oklch(36% 0.043 263)

  • #483B22

    #483B22

    oklch(36% 0.043 82.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #313D54

    #313D54

    oklch(36% 0.043 263)

  • #254150

    #254150

    oklch(36% 0.043 233.1)

  • #3E3952

    #3E3952

    oklch(36% 0.043 293.3)

Open the analogous palette in the generator

Split complementary

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

  • #313D54

    #313D54

    oklch(36% 0.043 263)

  • #4F3727

    #4F3727

    oklch(36% 0.043 54.6)

  • #3D4024

    #3D4024

    oklch(36.1% 0.045 113.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #313D54

    #313D54

    oklch(36% 0.043 263)

  • #523432

    #523432

    oklch(36% 0.044 23.7)

  • #2F432E

    #2F432E

    oklch(35.9% 0.044 143.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #313D54

    #313D54

    oklch(36% 0.043 263)

  • #4F343F

    #4F343F

    oklch(36.1% 0.042 353.3)

  • #483B22

    #483B22

    oklch(36% 0.043 82.9)

  • #23443B

    #23443B

    oklch(35.8% 0.042 174.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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