#313D48

Closest named color: Onyx (#343A40). oklch(35.4% 0.025 246.2), rgb(49, 61, 72).

Aa

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

About this color

#313D48 is a dark close to neutral grey. In OKLCH its lightness is 35%, its chroma 0.025. It has too little chroma to lean warm or cool. The nearest named color is Onyx (#343A40), ΔE 0.014 away. White text reads best on it, at 11.10:1.

Hue familyNeutrals
Lightnessdark (35%)
Chromaclose to neutral grey (0.025)
Temperatureneutral
Nearest nameOnyx (#343A40)
Black text1.89:1
White text11.10:1

Values

HEX#313D48
RGBrgb(49, 61, 72)
HSLhsl(209, 19%, 24%)
OKLCHoklch(35.4% 0.025 246.2)

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 #313D48 11.10:1 AAA Lc -99.5 Preferred for body text
Black text on #313D48 1.89:1 Fails Lc 8.2 Not readable
#313D48 text on white 11.10:1 AAA Lc 95.7 Preferred for body text
#313D48 text on black 1.89: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

    #F4F6F7

    oklch(97.2% 0.003 228.8)

  2. Step 100

    100

    #E7EAED

    oklch(93.6% 0.005 247.9)

  3. Step 200

    200

    #D4DAE0

    oklch(88.6% 0.011 247.9)

  4. Step 300

    300

    #B7C2CC

    oklch(80.9% 0.019 245.4)

  5. Step 400

    400

    #92A3B3

    oklch(70.7% 0.03 246.6)

  6. Step 500

    500

    #778CA0

    oklch(63.1% 0.039 247.1)

  7. Step 600

    600

    #60768B

    oklch(55.6% 0.042 247.4)

  8. Step 700

    700

    #4F6376

    oklch(49.1% 0.039 247.3)

  9. Step 800

    800

    #415160

    oklch(42.7% 0.032 246.9)

  10. Step 900

    900 (this color)

    #313D48

    oklch(35.4% 0.025 246.2)

  11. Step 950

    950

    #20272E

    oklch(26.9% 0.016 248.4)

Export this scale for Tailwind in the Tailwind colors tool

#313D48 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)#393D490.013
Deuteranopia (no green cones)#363B480.010
Tritanopia (no blue cones)#2A40410.021
Achromatopsia (no color)#3C3C3C0.025

Harmonies

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

Complementary

The opposite hue (180°).

  • #313D48

    #313D48

    oklch(35.4% 0.025 246.2)

  • #45392E

    #45392E

    oklch(35.4% 0.025 64.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #313D48

    #313D48

    oklch(35.4% 0.025 246.2)

  • #2D3F44

    #2D3F44

    oklch(35.4% 0.025 216.7)

  • #383B49

    #383B49

    oklch(35.5% 0.025 275.6)

Open the analogous palette in the generator

Split complementary

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

  • #313D48

    #313D48

    oklch(35.4% 0.025 246.2)

  • #483732

    #483732

    oklch(35.4% 0.026 37)

  • #3F3C2D

    #3F3C2D

    oklch(35.5% 0.025 98)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #313D48

    #313D48

    oklch(35.4% 0.025 246.2)

  • #473639

    #473639

    oklch(35.3% 0.025 6.6)

  • #383E30

    #383E30

    oklch(35.4% 0.025 126.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #313D48

    #313D48

    oklch(35.4% 0.025 246.2)

  • #443740

    #443740

    oklch(35.4% 0.024 337.4)

  • #45392E

    #45392E

    oklch(35.4% 0.025 64.4)

  • #314036

    #314036

    oklch(35.5% 0.026 155.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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