#313C57

Closest named color: Dark Blue Grey (#1F3B4D). oklch(35.9% 0.049 266.9), rgb(49, 60, 87).

Aa

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

About this color

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

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

Values

HEX#313C57
RGBrgb(49, 60, 87)
HSLhsl(223, 28%, 27%)
OKLCHoklch(35.9% 0.049 266.9)

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 #313C57 10.96:1 AAA Lc -99.2 Preferred for body text
Black text on #313C57 1.91:1 Fails Lc 8.5 Not readable
#313C57 text on white 10.96:1 AAA Lc 95.4 Preferred for body text
#313C57 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

    #F4F5F9

    oklch(97.1% 0.005 275)

  2. Step 100

    100

    #E6EAF1

    oklch(93.6% 0.01 261.8)

  3. Step 200

    200

    #D3D9E7

    oklch(88.5% 0.02 267.3)

  4. Step 300

    300

    #B6C1D9

    oklch(81% 0.036 265.9)

  5. Step 400

    400

    #90A0C6

    oklch(70.7% 0.059 267)

  6. Step 500

    500

    #7588B8

    oklch(63% 0.076 267.5)

  7. Step 600

    600

    #5D72A4

    oklch(55.6% 0.082 266.3)

  8. Step 700

    700

    #4D5F8D

    oklch(49.1% 0.077 267.2)

  9. Step 800

    800

    #3F4E72

    oklch(42.7% 0.063 266.5)

  10. Step 900

    900 (this color)

    #313C57

    oklch(35.9% 0.049 266.9)

  11. Step 950

    950

    #1F2636

    oklch(26.9% 0.032 266.1)

Export this scale for Tailwind in the Tailwind colors tool

#313C57 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)#333E580.007
Deuteranopia (no green cones)#2F3B560.005
Tritanopia (no blue cones)#2442450.046
Achromatopsia (no color)#3C3C3C0.049

Harmonies

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

Complementary

The opposite hue (180°).

  • #313C57

    #313C57

    oklch(35.9% 0.049 266.9)

  • #483B1D

    #483B1D

    oklch(35.9% 0.049 86.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #313C57

    #313C57

    oklch(35.9% 0.049 266.9)

  • #224153

    #224153

    oklch(36% 0.048 235.7)

  • #3F3754

    #3F3754

    oklch(35.8% 0.05 296.4)

Open the analogous palette in the generator

Split complementary

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

  • #313C57

    #313C57

    oklch(35.9% 0.049 266.9)

  • #513622

    #513622

    oklch(35.9% 0.05 56.9)

  • #3B4021

    #3B4021

    oklch(35.8% 0.049 116.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #313C57

    #313C57

    oklch(35.9% 0.049 266.9)

  • #54322F

    #54322F

    oklch(35.8% 0.05 25.3)

  • #2B442D

    #2B442D

    oklch(35.9% 0.05 146.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #313C57

    #313C57

    oklch(35.9% 0.049 266.9)

  • #52323D

    #52323D

    oklch(36% 0.049 357.7)

  • #483B1D

    #483B1D

    oklch(35.9% 0.049 86.5)

  • #1C453C

    #1C453C

    oklch(35.8% 0.049 176.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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