#313C60

Closest named color: Dark Grey Blue (#29465B). oklch(36.4% 0.064 270.1), rgb(49, 60, 96).

Aa

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

About this color

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

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

Values

HEX#313C60
RGBrgb(49, 60, 96)
HSLhsl(226, 32%, 28%)
OKLCHoklch(36.4% 0.064 270.1)

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 #313C60 10.79:1 AAA Lc -98.8 Preferred for body text
Black text on #313C60 1.94:1 Fails Lc 9.0 Not readable
#313C60 text on white 10.79:1 AAA Lc 94.9 Preferred for body text
#313C60 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

    #F4F5FA

    oklch(97.1% 0.007 277.2)

  2. Step 100

    100

    #E6EAF4

    oklch(93.7% 0.014 268.5)

  3. Step 200

    200

    #D2D9EB

    oklch(88.5% 0.026 268.8)

  4. Step 300

    300

    #B4C0E1

    oklch(80.9% 0.049 269.5)

  5. Step 400

    400

    #8E9FD1

    oklch(70.8% 0.076 269.9)

  6. Step 500

    500

    #7286C5

    oklch(63% 0.098 270)

  7. Step 600

    600

    #5B6FB2

    oklch(55.6% 0.107 270.1)

  8. Step 700

    700

    #4B5D99

    oklch(49.2% 0.099 269.9)

  9. Step 800

    800

    #3E4C7C

    oklch(42.8% 0.082 270.3)

  10. Step 900

    900 (this color)

    #313C60

    oklch(36.4% 0.064 270.1)

  11. Step 950

    950

    #1F253A

    oklch(26.9% 0.04 271.3)

Export this scale for Tailwind in the Tailwind colors tool

#313C60 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)#2F40610.012
Deuteranopia (no green cones)#2A3C5F0.010
Tritanopia (no blue cones)#2043490.057
Achromatopsia (no color)#3D3D3D0.064

Harmonies

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

Complementary

The opposite hue (180°).

  • #313C60

    #313C60

    oklch(36.4% 0.064 270.1)

  • #4B3C0F

    #4B3C0F

    oklch(36.3% 0.064 89.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #313C60

    #313C60

    oklch(36.4% 0.064 270.1)

  • #19425C

    #19425C

    oklch(36.3% 0.064 239.8)

  • #43365B

    #43365B

    oklch(36.4% 0.064 299.4)

Open the analogous palette in the generator

Split complementary

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

  • #313C60

    #313C60

    oklch(36.4% 0.064 270.1)

  • #573518

    #573518

    oklch(36.4% 0.065 59)

  • #3A4319

    #3A4319

    oklch(36.4% 0.064 119.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #313C60

    #313C60

    oklch(36.4% 0.064 270.1)

  • #5B3029

    #5B3029

    oklch(36.3% 0.064 30.3)

  • #23482C

    #23482C

    oklch(36.5% 0.064 150.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #313C60

    #313C60

    oklch(36.4% 0.064 270.1)

  • #592F3D

    #592F3D

    oklch(36.4% 0.064 359.4)

  • #4B3C0F

    #4B3C0F

    oklch(36.3% 0.064 89.9)

  • #04493F

    #04493F

    oklch(36.4% 0.065 179.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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