#313B5A

Closest named color: Dark Blue Grey (#1F3B4D). oklch(35.8% 0.056 269.8), rgb(49, 59, 90).

Aa

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

About this color

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

Hue familyBlues
Lightnessdark (36%)
Chromamuted (0.056)
Temperaturecool
Nearest nameDark Blue Grey (#1F3B4D)
Black text1.90:1
White text11.03:1

Values

HEX#313B5A
RGBrgb(49, 59, 90)
HSLhsl(225, 29%, 27%)
OKLCHoklch(35.8% 0.056 269.8)

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 #313B5A 11.03:1 AAA Lc -99.3 Preferred for body text
Black text on #313B5A 1.90:1 Fails Lc 8.4 Not readable
#313B5A text on white 11.03:1 AAA Lc 95.5 Preferred for body text
#313B5A text on black 1.90:1 Fails Lc 0.0 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

    #E6EAF2

    oklch(93.6% 0.012 264.5)

  3. Step 200

    200

    #D3D9E9

    oklch(88.6% 0.023 269.4)

  4. Step 300

    300

    #B6C0DC

    oklch(80.9% 0.041 269.9)

  5. Step 400

    400

    #909FCB

    oklch(70.7% 0.067 270)

  6. Step 500

    500

    #7587BE

    oklch(63.1% 0.086 269.9)

  7. Step 600

    600

    #5E70AA

    oklch(55.6% 0.093 270.1)

  8. Step 700

    700

    #4D5E92

    oklch(49.1% 0.086 269.3)

  9. Step 800

    800

    #3F4D76

    oklch(42.7% 0.071 268.9)

  10. Step 900

    900 (this color)

    #313B5A

    oklch(35.8% 0.056 269.8)

  11. Step 950

    950

    #202638

    oklch(27.1% 0.035 269.8)

Export this scale for Tailwind in the Tailwind colors tool

#313B5A 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)#303E5B0.009
Deuteranopia (no green cones)#2C3A590.008
Tritanopia (no blue cones)#2341460.050
Achromatopsia (no color)#3C3C3C0.056

Harmonies

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

Complementary

The opposite hue (180°).

  • #313B5A

    #313B5A

    oklch(35.8% 0.056 269.8)

  • #483B17

    #483B17

    oklch(35.8% 0.055 89.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #313B5A

    #313B5A

    oklch(35.8% 0.056 269.8)

  • #1E4057

    #1E4057

    oklch(35.7% 0.056 240.5)

  • #413656

    #413656

    oklch(35.9% 0.056 299.4)

Open the analogous palette in the generator

Split complementary

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

  • #313B5A

    #313B5A

    oklch(35.8% 0.056 269.8)

  • #52351D

    #52351D

    oklch(35.8% 0.056 59.3)

  • #39411E

    #39411E

    oklch(35.9% 0.056 119.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #313B5A

    #313B5A

    oklch(35.8% 0.056 269.8)

  • #56312B

    #56312B

    oklch(35.8% 0.055 29.9)

  • #26452D

    #26452D

    oklch(35.9% 0.056 150.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #313B5A

    #313B5A

    oklch(35.8% 0.056 269.8)

  • #54303B

    #54303B

    oklch(35.8% 0.055 0.5)

  • #483B17

    #483B17

    oklch(35.8% 0.055 89.5)

  • #13463E

    #13463E

    oklch(35.8% 0.055 180.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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