#31475E

Closest named color: Dark Grey Blue (#29465B). oklch(39% 0.048 250.2), rgb(49, 71, 94).

Aa

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

About this color

#31475E is a dark, muted blue. In OKLCH its lightness is 39%, its chroma 0.048 and its hue 250°. Its hue sits on the cool side of the wheel. The nearest named color is Dark Grey Blue (#29465B), ΔE 0.012 away. White text reads best on it, at 9.57:1.

Hue familyBlues
Lightnessdark (39%)
Chromamuted (0.048)
Temperaturecool
Nearest nameDark Grey Blue (#29465B)
Black text2.19:1
White text9.57:1

Values

HEX#31475E
RGBrgb(49, 71, 94)
HSLhsl(211, 31%, 28%)
OKLCHoklch(39% 0.048 250.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 #31475E 9.57:1 AAA Lc -96.4 Preferred for body text
Black text on #31475E 2.19:1 Fails Lc 11.8 Not readable
#31475E text on white 9.57:1 AAA Lc 92.1 Preferred for body text
#31475E text on black 2.19:1 Fails Lc -10.3 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

    #F3F6F9

    oklch(97.2% 0.005 247.9)

  2. Step 100

    100

    #E5EAF1

    oklch(93.5% 0.011 256.7)

  3. Step 200

    200

    #D0DAE6

    oklch(88.4% 0.02 252.9)

  4. Step 300

    300

    #B0C3D8

    oklch(80.9% 0.036 250.9)

  5. Step 400

    400

    #86A4C4

    oklch(70.8% 0.058 250.3)

  6. Step 500

    500

    #678DB5

    oklch(63.1% 0.074 250.3)

  7. Step 600

    600

    #4E77A1

    oklch(55.7% 0.08 250)

  8. Step 700

    700

    #3F648A

    oklch(49.2% 0.075 250.2)

  9. Step 800

    800

    #345170

    oklch(42.6% 0.062 251)

  10. Step 900

    900 (this color)

    #31475E

    oklch(39% 0.048 250.2)

  11. Step 950

    950

    #1B2835

    oklch(27.1% 0.03 249)

Export this scale for Tailwind in the Tailwind colors tool

#31475E 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)#3E485F0.019
Deuteranopia (no green cones)#38435E0.015
Tritanopia (no blue cones)#1F4C4F0.040
Achromatopsia (no color)#4545450.048

Harmonies

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

Complementary

The opposite hue (180°).

  • #31475E

    #31475E

    oklch(39% 0.048 250.2)

  • #564128

    #564128

    oklch(39.2% 0.048 70.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #31475E

    #31475E

    oklch(39% 0.048 250.2)

  • #254B57

    #254B57

    oklch(39% 0.048 220.8)

  • #40425F

    #40425F

    oklch(39% 0.049 280.8)

Open the analogous palette in the generator

Split complementary

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

  • #31475E

    #31475E

    oklch(39% 0.048 250.2)

  • #5B3C31

    #5B3C31

    oklch(38.9% 0.048 40.3)

  • #4B4627

    #4B4627

    oklch(39.1% 0.048 100.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #31475E

    #31475E

    oklch(39% 0.048 250.2)

  • #5C3A3F

    #5C3A3F

    oklch(39% 0.049 9.9)

  • #3C4A2F

    #3C4A2F

    oklch(38.9% 0.047 130.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #31475E

    #31475E

    oklch(39% 0.048 250.2)

  • #573B4D

    #573B4D

    oklch(39.1% 0.048 340.7)

  • #564128

    #564128

    oklch(39.2% 0.048 70.5)

  • #2D4D3C

    #2D4D3C

    oklch(39% 0.048 159.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #31475E 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.