#3171A3

Closest named color: Muted Blue (#3B719F). oklch(53% 0.102 245.1), rgb(49, 113, 163).

Aa

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

About this color

#3171A3 is a medium-dark, moderately saturated blue. In OKLCH its lightness is 53%, its chroma 0.102 and its hue 245°. Its hue sits on the cool side of the wheel. The nearest named color is Muted Blue (#3B719F), ΔE 0.010 away. White text reads best on it, at 5.22:1.

Hue familyBlues
Lightnessmedium-dark (53%)
Chromamoderately saturated (0.102)
Temperaturecool
Nearest nameMuted Blue (#3B719F)
Black text4.02:1
White text5.22:1

Values

HEX#3171A3
RGBrgb(49, 113, 163)
HSLhsl(206, 54%, 42%)
OKLCHoklch(53% 0.102 245.1)

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 #3171A3 5.22:1 AA Lc -81.0 Fine for body text
Black text on #3171A3 4.02:1 AA large text Lc 28.4 Dividers and decoration only
#3171A3 text on white 5.22:1 AA Lc 75.6 Fine for body text
#3171A3 text on black 4.02:1 AA large text Lc -26.1 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 600.

  1. Step 50

    50

    #F2F6F9

    oklch(97.1% 0.006 239.8)

  2. Step 100

    100

    #E3EBF2

    oklch(93.6% 0.013 244.3)

  3. Step 200

    200

    #CCDBE9

    oklch(88.4% 0.025 246.2)

  4. Step 300

    300

    #A9C4DD

    oklch(80.8% 0.046 246.3)

  5. Step 400

    400

    #7AA6CC

    oklch(70.8% 0.073 245.2)

  6. Step 500

    500

    #568FBF

    oklch(63.1% 0.094 245.5)

  7. Step 600

    600 (this color)

    #3171A3

    oklch(53% 0.102 245.1)

  8. Step 700

    700

    #2B6593

    oklch(49% 0.095 245.5)

  9. Step 800

    800

    #255377

    oklch(42.7% 0.078 244.8)

  10. Step 900

    900

    #234560

    oklch(37.8% 0.061 244.4)

  11. Step 950

    950

    #152838

    oklch(26.9% 0.039 245.4)

Export this scale for Tailwind in the Tailwind colors tool

#3171A3 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)#5B72A50.045
Deuteranopia (no green cones)#4B67A20.035
Tritanopia (no blue cones)#007D830.074
Achromatopsia (no color)#6C6C6C0.102

Harmonies

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

Complementary

The opposite hue (180°).

  • #3171A3

    #3171A3

    oklch(53% 0.102 245.1)

  • #945E21

    #945E21

    oklch(53% 0.102 65)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #3171A3

    #3171A3

    oklch(53% 0.102 245.1)

  • #00798E

    #00798E

    oklch(53% 0.094 215.4)

  • #5B66A7

    #5B66A7

    oklch(53.1% 0.103 275.1)

Open the analogous palette in the generator

Split complementary

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

  • #3171A3

    #3171A3

    oklch(53% 0.102 245.1)

  • #9E5442

    #9E5442

    oklch(53% 0.103 34.7)

  • #7E6B13

    #7E6B13

    oklch(53.1% 0.103 95.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #3171A3

    #3171A3

    oklch(53% 0.102 245.1)

  • #9C5164

    #9C5164

    oklch(53.1% 0.101 5)

  • #5E762E

    #5E762E

    oklch(53% 0.103 125.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #3171A3

    #3171A3

    oklch(53% 0.102 245.1)

  • #905483

    #905483

    oklch(53.1% 0.102 335.4)

  • #945E21

    #945E21

    oklch(53% 0.102 65)

  • #317D51

    #317D51

    oklch(53% 0.103 155.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #3171A3 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.