#313A58

Closest named color: Dark Blue Grey (#1F3B4D). oklch(35.4% 0.054 270.7), rgb(49, 58, 88).

Aa

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

About this color

#313A58 is a dark, muted blue. In OKLCH its lightness is 35%, its chroma 0.054 and its hue 271°. Its hue sits on the cool side of the wheel. The nearest named color is Dark Blue Grey (#1F3B4D), ΔE 0.033 away. White text reads best on it, at 11.18:1.

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

Values

HEX#313A58
RGBrgb(49, 58, 88)
HSLhsl(226, 28%, 27%)
OKLCHoklch(35.4% 0.054 270.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 #313A58 11.18:1 AAA Lc -99.6 Preferred for body text
Black text on #313A58 1.87:1 Fails Lc 8.1 Not readable
#313A58 text on white 11.18:1 AAA Lc 95.8 Preferred for body text
#313A58 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

    #919FCA

    oklch(70.7% 0.065 270.6)

  6. Step 500

    500

    #7787BC

    oklch(63.2% 0.082 271)

  7. Step 600

    600

    #6070A8

    oklch(55.6% 0.089 271.1)

  8. Step 700

    700

    #4F5E90

    oklch(49.2% 0.083 270.4)

  9. Step 800

    800

    #414D75

    oklch(42.8% 0.068 270.6)

  10. Step 900

    900 (this color)

    #313A58

    oklch(35.4% 0.054 270.7)

  11. Step 950

    950

    #202637

    oklch(27.1% 0.033 269.2)

Export this scale for Tailwind in the Tailwind colors tool

#313A58 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)#303D590.009
Deuteranopia (no green cones)#2C3A570.008
Tritanopia (no blue cones)#2440450.048
Achromatopsia (no color)#3B3B3B0.054

Harmonies

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

Complementary

The opposite hue (180°).

  • #313A58

    #313A58

    oklch(35.4% 0.054 270.7)

  • #463A18

    #463A18

    oklch(35.3% 0.053 90.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #313A58

    #313A58

    oklch(35.4% 0.054 270.7)

  • #1F3F55

    #1F3F55

    oklch(35.4% 0.054 240.6)

  • #403554

    #403554

    oklch(35.5% 0.054 300)

Open the analogous palette in the generator

Split complementary

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

  • #313A58

    #313A58

    oklch(35.4% 0.054 270.7)

  • #50351D

    #50351D

    oklch(35.5% 0.054 61.4)

  • #38401E

    #38401E

    oklch(35.5% 0.054 120.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #313A58

    #313A58

    oklch(35.4% 0.054 270.7)

  • #54312A

    #54312A

    oklch(35.5% 0.053 32)

  • #25442D

    #25442D

    oklch(35.5% 0.055 151.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #313A58

    #313A58

    oklch(35.4% 0.054 270.7)

  • #532F3A

    #532F3A

    oklch(35.4% 0.055 0.6)

  • #463A18

    #463A18

    oklch(35.3% 0.053 90.1)

  • #14453D

    #14453D

    oklch(35.5% 0.054 180.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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