#31374C

Closest named color: Dark Blue Grey (#1F3B4D). oklch(34% 0.038 271.9), rgb(49, 55, 76).

Aa

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

About this color

#31374C is a dark, muted blue. In OKLCH its lightness is 34%, its chroma 0.038 and its hue 272°. Its hue sits on the cool side of the wheel. The nearest named color is Dark Blue Grey (#1F3B4D), ΔE 0.026 away. White text reads best on it, at 11.78:1.

Hue familyBlues
Lightnessdark (34%)
Chromamuted (0.038)
Temperaturecool
Nearest nameDark Blue Grey (#1F3B4D)
Black text1.78:1
White text11.78:1

Values

HEX#31374C
RGBrgb(49, 55, 76)
HSLhsl(227, 22%, 25%)
OKLCHoklch(34% 0.038 271.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 #31374C 11.78:1 AAA Lc -100.7 Preferred for body text
Black text on #31374C 1.78:1 Fails Lc 0.0 Not readable
#31374C text on white 11.78:1 AAA Lc 97.1 Preferred for body text
#31374C text on black 1.78: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

    #F4F5F8

    oklch(97% 0.004 271.4)

  2. Step 100

    100

    #E8EAEF

    oklch(93.7% 0.007 268.5)

  3. Step 200

    200

    #D5D9E4

    oklch(88.5% 0.016 270)

  4. Step 300

    300

    #BAC0D4

    oklch(80.9% 0.029 272.4)

  5. Step 400

    400

    #969FBE

    oklch(70.6% 0.046 272.4)

  6. Step 500

    500

    #7D88AD

    oklch(63.1% 0.057 271.8)

  7. Step 600

    600

    #667199

    oklch(55.5% 0.064 272.3)

  8. Step 700

    700

    #555F83

    oklch(49.2% 0.059 272.1)

  9. Step 800

    800

    #454E6A

    oklch(42.8% 0.048 270.5)

  10. Step 900

    900 (this color)

    #31374C

    oklch(34% 0.038 271.9)

  11. Step 950

    950

    #222632

    oklch(27% 0.023 270.4)

Export this scale for Tailwind in the Tailwind colors tool

#31374C 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)#30394D0.006
Deuteranopia (no green cones)#2E374B0.005
Tritanopia (no blue cones)#2A3B3E0.034
Achromatopsia (no color)#3838380.038

Harmonies

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

Complementary

The opposite hue (180°).

  • #31374C

    #31374C

    oklch(34% 0.038 271.9)

  • #3F3821

    #3F3821

    oklch(34.2% 0.038 93.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #31374C

    #31374C

    oklch(34% 0.038 271.9)

  • #263B4A

    #263B4A

    oklch(34.1% 0.038 240.3)

  • #3C3349

    #3C3349

    oklch(34% 0.04 303.1)

Open the analogous palette in the generator

Split complementary

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

  • #31374C

    #31374C

    oklch(34% 0.038 271.9)

  • #463423

    #463423

    oklch(34.1% 0.038 64.4)

  • #353B25

    #353B25

    oklch(34% 0.037 120.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #31374C

    #31374C

    oklch(34% 0.038 271.9)

  • #4A312C

    #4A312C

    oklch(34.1% 0.038 31.7)

  • #293E2E

    #293E2E

    oklch(34.1% 0.039 151.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #31374C

    #31374C

    oklch(34% 0.038 271.9)

  • #493036

    #493036

    oklch(34.1% 0.038 3.5)

  • #3F3821

    #3F3821

    oklch(34.2% 0.038 93.1)

  • #203F39

    #203F39

    oklch(34.2% 0.039 180)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #31374C 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.