#313A57

Closest named color: Dark Blue Grey (#1F3B4D). oklch(35.4% 0.052 270.4), rgb(49, 58, 87).

Aa

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

About this color

#313A57 is a dark, muted blue. In OKLCH its lightness is 35%, its chroma 0.052 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.032 away. White text reads best on it, at 11.20:1.

Hue familyBlues
Lightnessdark (35%)
Chromamuted (0.052)
Temperaturecool
Nearest nameDark Blue Grey (#1F3B4D)
Black text1.87:1
White text11.20:1

Values

HEX#313A57
RGBrgb(49, 58, 87)
HSLhsl(226, 28%, 27%)
OKLCHoklch(35.4% 0.052 270.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 #313A57 11.20:1 AAA Lc -99.6 Preferred for body text
Black text on #313A57 1.87:1 Fails Lc 8.0 Not readable
#313A57 text on white 11.20:1 AAA Lc 95.9 Preferred for body text
#313A57 text on black 1.87: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

    #E7EAF2

    oklch(93.7% 0.011 269.5)

  3. Step 200

    200

    #D3D9E8

    oklch(88.5% 0.022 268.4)

  4. Step 300

    300

    #B7C0DB

    oklch(80.9% 0.039 270.9)

  5. Step 400

    400

    #919FC8

    oklch(70.6% 0.062 270.1)

  6. Step 500

    500

    #7787BA

    oklch(63.1% 0.079 270.6)

  7. Step 600

    600

    #6070A7

    oklch(55.6% 0.088 271)

  8. Step 700

    700

    #4F5E8F

    oklch(49.1% 0.081 270.3)

  9. Step 800

    800

    #414D74

    oklch(42.8% 0.067 270.3)

  10. Step 900

    900 (this color)

    #313A57

    oklch(35.4% 0.052 270.4)

  11. Step 950

    950

    #202637

    oklch(27.1% 0.033 269.2)

Export this scale for Tailwind in the Tailwind colors tool

#313A57 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)#303D580.009
Deuteranopia (no green cones)#2D39560.007
Tritanopia (no blue cones)#2540440.047
Achromatopsia (no color)#3B3B3B0.052

Harmonies

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

Complementary

The opposite hue (180°).

  • #313A57

    #313A57

    oklch(35.4% 0.052 270.4)

  • #463A19

    #463A19

    oklch(35.3% 0.052 89.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #313A57

    #313A57

    oklch(35.4% 0.052 270.4)

  • #203F54

    #203F54

    oklch(35.4% 0.052 240.1)

  • #403553

    #403553

    oklch(35.4% 0.053 300.6)

Open the analogous palette in the generator

Split complementary

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

  • #313A57

    #313A57

    oklch(35.4% 0.052 270.4)

  • #4F351E

    #4F351E

    oklch(35.4% 0.052 61.4)

  • #38401F

    #38401F

    oklch(35.5% 0.053 120.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #313A57

    #313A57

    oklch(35.4% 0.052 270.4)

  • #54312B

    #54312B

    oklch(35.5% 0.053 30.4)

  • #26432D

    #26432D

    oklch(35.3% 0.052 150.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #313A57

    #313A57

    oklch(35.4% 0.052 270.4)

  • #52303A

    #52303A

    oklch(35.5% 0.051 1)

  • #463A19

    #463A19

    oklch(35.3% 0.052 89.6)

  • #16443D

    #16443D

    oklch(35.3% 0.051 181.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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