#31556D

Closest named color: YInMn Blue (#415A77). oklch(43.3% 0.058 239.2), rgb(49, 85, 109).

Aa

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

About this color

#31556D is a dark, muted blue. In OKLCH its lightness is 43%, its chroma 0.058 and its hue 239°. Its hue sits on the cool side of the wheel. The nearest named color is YInMn Blue (#415A77), ΔE 0.030 away. White text reads best on it, at 7.92:1.

Hue familyBlues
Lightnessdark (43%)
Chromamuted (0.058)
Temperaturecool
Nearest nameYInMn Blue (#415A77)
Black text2.65:1
White text7.92:1

Values

HEX#31556D
RGBrgb(49, 85, 109)
HSLhsl(204, 38%, 31%)
OKLCHoklch(43.3% 0.058 239.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 #31556D 7.92:1 AAA Lc -92.1 Preferred for body text
Black text on #31556D 2.65:1 Fails Lc 16.6 Dividers and decoration only
#31556D text on white 7.92:1 AAA Lc 87.4 Fine for body text
#31556D text on black 2.65:1 Fails Lc -14.8 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 800.

  1. Step 50

    50

    #F3F6F8

    oklch(97.1% 0.004 236.5)

  2. Step 100

    100

    #E4EBF0

    oklch(93.6% 0.01 238.5)

  3. Step 200

    200

    #CEDBE4

    oklch(88.4% 0.019 237.8)

  4. Step 300

    300

    #AEC4D4

    oklch(80.9% 0.033 239.5)

  5. Step 400

    400

    #82A6BF

    oklch(70.7% 0.054 238.8)

  6. Step 500

    500

    #6290AF

    oklch(63.2% 0.068 238.8)

  7. Step 600

    600

    #47799B

    oklch(55.5% 0.076 239.8)

  8. Step 700

    700

    #396684

    oklch(49.1% 0.069 239.5)

  9. Step 800

    800 (this color)

    #31556D

    oklch(43.3% 0.058 239.2)

  10. Step 900

    900

    #2A4557

    oklch(37.7% 0.045 238.8)

  11. Step 950

    950

    #192833

    oklch(26.9% 0.029 241)

Export this scale for Tailwind in the Tailwind colors tool

#31556D 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)#4A556E0.032
Deuteranopia (no green cones)#424E6D0.028
Tritanopia (no blue cones)#0E5B5D0.046
Achromatopsia (no color)#5151510.058

Harmonies

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

Complementary

The opposite hue (180°).

  • #31556D

    #31556D

    oklch(43.3% 0.058 239.2)

  • #684930

    #684930

    oklch(43.3% 0.057 59.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #31556D

    #31556D

    oklch(43.3% 0.058 239.2)

  • #245962

    #245962

    oklch(43.2% 0.057 210.3)

  • #444F71

    #444F71

    oklch(43.3% 0.058 270.1)

Open the analogous palette in the generator

Split complementary

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

  • #31556D

    #31556D

    oklch(43.3% 0.058 239.2)

  • #6D443E

    #6D443E

    oklch(43.2% 0.058 28.7)

  • #5D4F2A

    #5D4F2A

    oklch(43.3% 0.057 89.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #31556D

    #31556D

    oklch(43.3% 0.058 239.2)

  • #6B4350

    #6B4350

    oklch(43.3% 0.058 358.8)

  • #4D5530

    #4D5530

    oklch(43.2% 0.057 118.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #31556D

    #31556D

    oklch(43.3% 0.058 239.2)

  • #624560

    #624560

    oklch(43.2% 0.057 328.8)

  • #684930

    #684930

    oklch(43.3% 0.057 59.4)

  • #395A3F

    #395A3F

    oklch(43.4% 0.059 149.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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