#31576D

Closest named color: YInMn Blue (#415A77). oklch(43.8% 0.057 235.5), rgb(49, 87, 109).

Aa

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

About this color

#31576D is a dark, muted blue. In OKLCH its lightness is 44%, its chroma 0.057 and its hue 235°. Its hue sits on the cool side of the wheel. The nearest named color is YInMn Blue (#415A77), ΔE 0.028 away. White text reads best on it, at 7.73:1.

Hue familyBlues
Lightnessdark (44%)
Chromamuted (0.057)
Temperaturecool
Nearest nameYInMn Blue (#415A77)
Black text2.71:1
White text7.73:1

Values

HEX#31576D
RGBrgb(49, 87, 109)
HSLhsl(202, 38%, 31%)
OKLCHoklch(43.8% 0.057 235.5)

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 #31576D 7.73:1 AAA Lc -91.5 Preferred for body text
Black text on #31576D 2.71:1 Fails Lc 17.3 Dividers and decoration only
#31576D text on white 7.73:1 AAA Lc 86.8 Fine for body text
#31576D text on black 2.71:1 Fails Lc -15.3 Dividers and decoration only

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 800.

  1. Step 50

    50

    #F3F6F8

    oklch(97.1% 0.004 236.5)

  2. Step 100

    100

    #E4EBEF

    oklch(93.6% 0.009 232.4)

  3. Step 200

    200

    #CEDBE4

    oklch(88.4% 0.019 237.8)

  4. Step 300

    300

    #ADC5D3

    oklch(81% 0.033 233.4)

  5. Step 400

    400

    #81A6BD

    oklch(70.6% 0.053 235.8)

  6. Step 500

    500

    #6090AD

    oklch(63% 0.068 235.9)

  7. Step 600

    600

    #467A99

    oklch(55.6% 0.074 236.3)

  8. Step 700

    700

    #376782

    oklch(49.2% 0.068 235.1)

  9. Step 800

    800 (this color)

    #31576D

    oklch(43.8% 0.057 235.5)

  10. Step 900

    900

    #294556

    oklch(37.6% 0.045 236.3)

  11. Step 950

    950

    #192932

    oklch(27.1% 0.027 233.8)

Export this scale for Tailwind in the Tailwind colors tool

#31576D 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)#4D566E0.036
Deuteranopia (no green cones)#44506D0.030
Tritanopia (no blue cones)#0D5D5E0.045
Achromatopsia (no color)#5353530.057

Harmonies

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

Complementary

The opposite hue (180°).

  • #31576D

    #31576D

    oklch(43.8% 0.057 235.5)

  • #6A4A33

    #6A4A33

    oklch(43.8% 0.056 56.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #31576D

    #31576D

    oklch(43.8% 0.057 235.5)

  • #265B61

    #265B61

    oklch(43.8% 0.057 205.4)

  • #435172

    #435172

    oklch(43.7% 0.058 266.4)

Open the analogous palette in the generator

Split complementary

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

  • #31576D

    #31576D

    oklch(43.8% 0.057 235.5)

  • #6E4642

    #6E4642

    oklch(43.9% 0.056 25.8)

  • #60502C

    #60502C

    oklch(43.9% 0.057 86.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #31576D

    #31576D

    oklch(43.8% 0.057 235.5)

  • #6B4553

    #6B4553

    oklch(43.8% 0.056 355.9)

  • #515631

    #515631

    oklch(43.9% 0.056 115)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #31576D

    #31576D

    oklch(43.8% 0.057 235.5)

  • #624763

    #624763

    oklch(43.8% 0.056 325.3)

  • #6A4A33

    #6A4A33

    oklch(43.8% 0.056 56.4)

  • #3E5A3F

    #3E5A3F

    oklch(43.7% 0.055 145.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #31576D 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.