#313D52

Closest named color: Dark Blue Grey (#1F3B4D). oklch(35.9% 0.04 261.4), rgb(49, 61, 82).

Aa

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

About this color

#313D52 is a dark, muted blue. In OKLCH its lightness is 36%, its chroma 0.040 and its hue 261°. Its hue sits on the cool side of the wheel. The nearest named color is Dark Blue Grey (#1F3B4D), ΔE 0.027 away. White text reads best on it, at 10.93:1.

Hue familyBlues
Lightnessdark (36%)
Chromamuted (0.040)
Temperaturecool
Nearest nameDark Blue Grey (#1F3B4D)
Black text1.91:1
White text10.93:1

Values

HEX#313D52
RGBrgb(49, 61, 82)
HSLhsl(218, 25%, 26%)
OKLCHoklch(35.9% 0.04 261.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 #313D52 10.93:1 AAA Lc -99.2 Preferred for body text
Black text on #313D52 1.91:1 Fails Lc 8.6 Not readable
#313D52 text on white 10.93:1 AAA Lc 95.3 Preferred for body text
#313D52 text on black 1.91:1 Fails Lc -7.3 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

    #E7EAF0

    oklch(93.6% 0.009 264.5)

  3. Step 200

    200

    #D3D9E4

    oklch(88.4% 0.016 262.7)

  4. Step 300

    300

    #B6C1D5

    oklch(80.9% 0.031 262.5)

  5. Step 400

    400

    #90A1BF

    oklch(70.6% 0.048 261.8)

  6. Step 500

    500

    #758AAF

    oklch(63.1% 0.061 261.6)

  7. Step 600

    600

    #5D749B

    oklch(55.6% 0.067 260.8)

  8. Step 700

    700

    #4D6184

    oklch(49.1% 0.062 261.3)

  9. Step 800

    800

    #3F4F6B

    oklch(42.6% 0.051 261.4)

  10. Step 900

    900 (this color)

    #313D52

    oklch(35.9% 0.04 261.4)

  11. Step 950

    950

    #202733

    oklch(27.1% 0.025 261.1)

Export this scale for Tailwind in the Tailwind colors tool

#313D52 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)#363E530.009
Deuteranopia (no green cones)#323B520.006
Tritanopia (no blue cones)#2741440.035
Achromatopsia (no color)#3D3D3D0.040

Harmonies

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

Complementary

The opposite hue (180°).

  • #313D52

    #313D52

    oklch(35.9% 0.04 261.4)

  • #473B24

    #473B24

    oklch(35.9% 0.04 83)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #313D52

    #313D52

    oklch(35.9% 0.04 261.4)

  • #26414E

    #26414E

    oklch(35.9% 0.04 230.1)

  • #3D3950

    #3D3950

    oklch(35.8% 0.04 292.3)

Open the analogous palette in the generator

Split complementary

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

  • #313D52

    #313D52

    oklch(35.9% 0.04 261.4)

  • #4E3729

    #4E3729

    oklch(35.9% 0.04 52.4)

  • #3D3F26

    #3D3F26

    oklch(35.9% 0.04 112.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #313D52

    #313D52

    oklch(35.9% 0.04 261.4)

  • #503433

    #503433

    oklch(35.8% 0.041 21.6)

  • #31422E

    #31422E

    oklch(35.8% 0.04 140.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #313D52

    #313D52

    oklch(35.9% 0.04 261.4)

  • #4D343F

    #4D343F

    oklch(35.8% 0.04 351.2)

  • #473B24

    #473B24

    oklch(35.9% 0.04 83)

  • #26443A

    #26443A

    oklch(36% 0.04 170.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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