#31476F

Closest named color: Dark Grey Blue (#29465B). oklch(39.9% 0.073 261.7), rgb(49, 71, 111).

Aa

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

About this color

#31476F is a dark, moderately saturated blue. In OKLCH its lightness is 40%, its chroma 0.073 and its hue 262°. Its hue sits on the cool side of the wheel. The nearest named color is Dark Grey Blue (#29465B), ΔE 0.037 away. White text reads best on it, at 9.28:1.

Hue familyBlues
Lightnessdark (40%)
Chromamoderately saturated (0.073)
Temperaturecool
Nearest nameDark Grey Blue (#29465B)
Black text2.26:1
White text9.28:1

Values

HEX#31476F
RGBrgb(49, 71, 111)
HSLhsl(219, 39%, 31%)
OKLCHoklch(39.9% 0.073 261.7)

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 #31476F 9.28:1 AAA Lc -95.7 Preferred for body text
Black text on #31476F 2.26:1 Fails Lc 12.6 Not readable
#31476F text on white 9.28:1 AAA Lc 91.3 Preferred for body text
#31476F text on black 2.26:1 Fails Lc -11.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

    #F3F6FB

    oklch(97.2% 0.007 260.7)

  2. Step 100

    100

    #E4EAF5

    oklch(93.6% 0.016 262.8)

  3. Step 200

    200

    #CEDAEE

    oklch(88.5% 0.03 260.7)

  4. Step 300

    300

    #ADC1E5

    oklch(80.8% 0.056 262.2)

  5. Step 400

    400

    #82A1D8

    oklch(70.7% 0.088 261.6)

  6. Step 500

    500

    #6389CD

    oklch(63.1% 0.112 261.5)

  7. Step 600

    600

    #4A71BA

    oklch(55.5% 0.122 261.9)

  8. Step 700

    700

    #3B5FA1

    oklch(49.2% 0.114 261.5)

  9. Step 800

    800

    #314E82

    oklch(42.8% 0.093 261.3)

  10. Step 900

    900 (this color)

    #31476F

    oklch(39.9% 0.073 261.7)

  11. Step 950

    950

    #1A263D

    oklch(27% 0.046 262.7)

Export this scale for Tailwind in the Tailwind colors tool

#31476F 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)#374A710.013
Deuteranopia (no green cones)#30446E0.009
Tritanopia (no blue cones)#1050560.066
Achromatopsia (no color)#4747470.073

Harmonies

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

Complementary

The opposite hue (180°).

  • #31476F

    #31476F

    oklch(39.9% 0.073 261.7)

  • #5B4310

    #5B4310

    oklch(39.9% 0.073 82)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #31476F

    #31476F

    oklch(39.9% 0.073 261.7)

  • #114E68

    #114E68

    oklch(40% 0.073 231.8)

  • #48406C

    #48406C

    oklch(40% 0.073 291.1)

Open the analogous palette in the generator

Split complementary

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

  • #31476F

    #31476F

    oklch(39.9% 0.073 261.7)

  • #663B20

    #663B20

    oklch(39.9% 0.073 51.4)

  • #494B16

    #494B16

    oklch(39.9% 0.073 111.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #31476F

    #31476F

    oklch(39.9% 0.073 261.7)

  • #6A3636

    #6A3636

    oklch(40% 0.074 20.9)

  • #2F512B

    #2F512B

    oklch(39.8% 0.073 141.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #31476F

    #31476F

    oklch(39.9% 0.073 261.7)

  • #65364C

    #65364C

    oklch(39.9% 0.073 351.4)

  • #5B4310

    #5B4310

    oklch(39.9% 0.073 82)

  • #0B5443

    #0B5443

    oklch(39.9% 0.073 172.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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