#313952

Closest named color: Dark Blue Grey (#1F3B4D). oklch(34.9% 0.045 270.3), rgb(49, 57, 82).

Aa

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

About this color

#313952 is a dark, muted blue. In OKLCH its lightness is 35%, its chroma 0.045 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.027 away. White text reads best on it, at 11.42:1.

Hue familyBlues
Lightnessdark (35%)
Chromamuted (0.045)
Temperaturecool
Nearest nameDark Blue Grey (#1F3B4D)
Black text1.83:1
White text11.42:1

Values

HEX#313952
RGBrgb(49, 57, 82)
HSLhsl(225, 25%, 26%)
OKLCHoklch(34.9% 0.045 270.3)

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 #313952 11.42:1 AAA Lc -100.0 Preferred for body text
Black text on #313952 1.83:1 Fails Lc 7.6 Not readable
#313952 text on white 11.42:1 AAA Lc 96.3 Preferred for body text
#313952 text on black 1.83: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

    #E7EAF1

    oklch(93.7% 0.01 267.4)

  3. Step 200

    200

    #D4D9E6

    oklch(88.5% 0.019 269.1)

  4. Step 300

    300

    #B8C0D7

    oklch(80.9% 0.034 270.4)

  5. Step 400

    400

    #939FC3

    oklch(70.6% 0.055 270.5)

  6. Step 500

    500

    #7988B4

    oklch(63.1% 0.069 269.8)

  7. Step 600

    600

    #6271A0

    oklch(55.6% 0.076 270.2)

  8. Step 700

    700

    #515F89

    oklch(49.2% 0.07 269.6)

  9. Step 800

    800

    #434D6F

    oklch(42.6% 0.058 271.2)

  10. Step 900

    900 (this color)

    #313952

    oklch(34.9% 0.045 270.3)

  11. Step 950

    950

    #212635

    oklch(27.1% 0.029 270.1)

Export this scale for Tailwind in the Tailwind colors tool

#313952 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)#313B530.006
Deuteranopia (no green cones)#2E38510.006
Tritanopia (no blue cones)#273E420.040
Achromatopsia (no color)#3A3A3A0.045

Harmonies

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

Complementary

The opposite hue (180°).

  • #313952

    #313952

    oklch(34.9% 0.045 270.3)

  • #43391D

    #43391D

    oklch(34.8% 0.045 90.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #313952

    #313952

    oklch(34.9% 0.045 270.3)

  • #233D4F

    #233D4F

    oklch(34.7% 0.045 240)

  • #3E354E

    #3E354E

    oklch(34.9% 0.044 300.6)

Open the analogous palette in the generator

Split complementary

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

  • #313952

    #313952

    oklch(34.9% 0.045 270.3)

  • #4C3521

    #4C3521

    oklch(35% 0.046 61.5)

  • #373E22

    #373E22

    oklch(34.9% 0.046 120.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #313952

    #313952

    oklch(34.9% 0.045 270.3)

  • #4F312C

    #4F312C

    oklch(34.8% 0.045 29.9)

  • #28412E

    #28412E

    oklch(34.9% 0.045 151.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #313952

    #313952

    oklch(34.9% 0.045 270.3)

  • #4E3039

    #4E3039

    oklch(34.9% 0.046 0.3)

  • #43391D

    #43391D

    oklch(34.8% 0.045 90.3)

  • #1C423B

    #1C423B

    oklch(34.9% 0.045 179.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #313952 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.