#313E54

Closest named color: Dark Grey Blue (#29465B). oklch(36.2% 0.042 260.7), rgb(49, 62, 84).

Aa

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

About this color

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

Hue familyBlues
Lightnessdark (36%)
Chromamuted (0.042)
Temperaturecool
Nearest nameDark Grey Blue (#29465B)
Black text1.94:1
White text10.78:1

Values

HEX#313E54
RGBrgb(49, 62, 84)
HSLhsl(218, 26%, 26%)
OKLCHoklch(36.2% 0.042 260.7)

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 #313E54 10.78:1 AAA Lc -98.9 Preferred for body text
Black text on #313E54 1.94:1 Fails Lc 8.9 Not readable
#313E54 text on white 10.78:1 AAA Lc 95.0 Preferred for body text
#313E54 text on black 1.94:1 Fails Lc -7.7 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

    #D3DAE5

    oklch(88.6% 0.017 259.4)

  4. Step 300

    300

    #B5C1D6

    oklch(80.8% 0.032 261.7)

  5. Step 400

    400

    #8FA2C1

    oklch(70.8% 0.05 260.2)

  6. Step 500

    500

    #738AB1

    oklch(63% 0.065 260.8)

  7. Step 600

    600

    #5C749D

    oklch(55.7% 0.07 260.9)

  8. Step 700

    700

    #4B6186

    oklch(49.1% 0.066 260.6)

  9. Step 800

    800

    #3E4F6D

    oklch(42.6% 0.055 261.5)

  10. Step 900

    900 (this color)

    #313E54

    oklch(36.2% 0.042 260.7)

  11. Step 950

    950

    #1F2734

    oklch(27.1% 0.027 260)

Export this scale for Tailwind in the Tailwind colors tool

#313E54 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)#363F550.009
Deuteranopia (no green cones)#333C540.007
Tritanopia (no blue cones)#2643460.037
Achromatopsia (no color)#3D3D3D0.042

Harmonies

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

Complementary

The opposite hue (180°).

  • #313E54

    #313E54

    oklch(36.2% 0.042 260.7)

  • #493B23

    #493B23

    oklch(36.1% 0.042 80.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #313E54

    #313E54

    oklch(36.2% 0.042 260.7)

  • #254250

    #254250

    oklch(36.3% 0.042 230.4)

  • #3D3A52

    #3D3A52

    oklch(36.2% 0.041 289.9)

Open the analogous palette in the generator

Split complementary

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

  • #313E54

    #313E54

    oklch(36.2% 0.042 260.7)

  • #503729

    #503729

    oklch(36.2% 0.043 50.2)

  • #3F4025

    #3F4025

    oklch(36.3% 0.043 110.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #313E54

    #313E54

    oklch(36.2% 0.042 260.7)

  • #523534

    #523534

    oklch(36.3% 0.042 21.5)

  • #32432E

    #32432E

    oklch(36.2% 0.042 139.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #313E54

    #313E54

    oklch(36.2% 0.042 260.7)

  • #4F3540

    #4F3540

    oklch(36.3% 0.041 352.3)

  • #493B23

    #493B23

    oklch(36.1% 0.042 80.3)

  • #25453B

    #25453B

    oklch(36.2% 0.042 171.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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