#31476C

Closest named color: Dark Grey Blue (#29465B). oklch(39.8% 0.069 260.4), rgb(49, 71, 108).

Aa

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

About this color

#31476C is a dark, muted blue. In OKLCH its lightness is 40%, its chroma 0.069 and its hue 260°. Its hue sits on the cool side of the wheel. The nearest named color is Dark Grey Blue (#29465B), ΔE 0.032 away. White text reads best on it, at 9.33:1.

Hue familyBlues
Lightnessdark (40%)
Chromamuted (0.069)
Temperaturecool
Nearest nameDark Grey Blue (#29465B)
Black text2.24:1
White text9.33:1

Values

HEX#31476C
RGBrgb(49, 71, 108)
HSLhsl(218, 38%, 31%)
OKLCHoklch(39.8% 0.069 260.4)

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 #31476C 9.33:1 AAA Lc -95.8 Preferred for body text
Black text on #31476C 2.24:1 Fails Lc 12.5 Not readable
#31476C text on white 9.33:1 AAA Lc 91.5 Preferred for body text
#31476C text on black 2.24:1 Fails Lc -10.9 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

    #F3F6FA

    oklch(97.2% 0.006 255.5)

  2. Step 100

    100

    #E4EAF4

    oklch(93.5% 0.015 260.7)

  3. Step 200

    200

    #CEDAED

    oklch(88.5% 0.029 259.6)

  4. Step 300

    300

    #AEC2E3

    oklch(81% 0.052 260.4)

  5. Step 400

    400

    #83A2D4

    oklch(70.8% 0.081 259.8)

  6. Step 500

    500

    #648AC9

    oklch(63.2% 0.105 260.2)

  7. Step 600

    600

    #4B72B6

    oklch(55.5% 0.115 260.9)

  8. Step 700

    700

    #3C609D

    oklch(49.2% 0.107 260.4)

  9. Step 800

    800

    #324E7F

    oklch(42.6% 0.089 260.9)

  10. Step 900

    900 (this color)

    #31476C

    oklch(39.8% 0.069 260.4)

  11. Step 950

    950

    #1A263C

    oklch(26.9% 0.045 261.9)

Export this scale for Tailwind in the Tailwind colors tool

#31476C 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)#394A6E0.015
Deuteranopia (no green cones)#32446B0.009
Tritanopia (no blue cones)#144F540.062
Achromatopsia (no color)#4747470.069

Harmonies

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

Complementary

The opposite hue (180°).

  • #31476C

    #31476C

    oklch(39.8% 0.069 260.4)

  • #5A4315

    #5A4315

    oklch(39.8% 0.069 81.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #31476C

    #31476C

    oklch(39.8% 0.069 260.4)

  • #154D65

    #154D65

    oklch(39.6% 0.069 231)

  • #474069

    #474069

    oklch(39.7% 0.068 290.8)

Open the analogous palette in the generator

Split complementary

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

  • #31476C

    #31476C

    oklch(39.8% 0.069 260.4)

  • #643B23

    #643B23

    oklch(39.6% 0.069 50.1)

  • #494A1A

    #494A1A

    oklch(39.7% 0.068 110.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #31476C

    #31476C

    oklch(39.8% 0.069 260.4)

  • #673737

    #673737

    oklch(39.7% 0.069 20.6)

  • #32502C

    #32502C

    oklch(39.7% 0.069 140.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #31476C

    #31476C

    oklch(39.8% 0.069 260.4)

  • #63374C

    #63374C

    oklch(39.8% 0.069 350.6)

  • #5A4315

    #5A4315

    oklch(39.8% 0.069 81.4)

  • #155342

    #155342

    oklch(39.8% 0.069 170.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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