#4171A5

Closest named color: Flat Blue (#3C73A8). oklch(53.8% 0.097 251.8), rgb(65, 113, 165).

Aa

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

About this color

#4171A5 is a medium-dark, moderately saturated blue. In OKLCH its lightness is 54%, its chroma 0.097 and its hue 252°. Its hue sits on the cool side of the wheel. The nearest named color is Flat Blue (#3C73A8), ΔE 0.007 away. White text reads best on it, at 5.08:1.

Hue familyBlues
Lightnessmedium-dark (54%)
Chromamoderately saturated (0.097)
Temperaturecool
Nearest nameFlat Blue (#3C73A8)
Black text4.13:1
White text5.08:1

Values

HEX#4171A5
RGBrgb(65, 113, 165)
HSLhsl(211, 43%, 45%)
OKLCHoklch(53.8% 0.097 251.8)

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 #4171A5 5.08:1 AA Lc -80.3 Fine for body text
Black text on #4171A5 4.13:1 AA large text Lc 29.2 Dividers and decoration only
#4171A5 text on white 5.08:1 AA Lc 74.9 Content text, not long reading
#4171A5 text on black 4.13:1 AA large text Lc -26.8 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

    #F3F6F9

    oklch(97.2% 0.005 247.9)

  2. Step 100

    100

    #E4EBF2

    oklch(93.7% 0.012 248)

  3. Step 200

    200

    #CEDBE9

    oklch(88.6% 0.024 250.1)

  4. Step 300

    300

    #ADC3DD

    oklch(80.9% 0.044 252.7)

  5. Step 400

    400

    #81A4CC

    oklch(70.7% 0.07 252.1)

  6. Step 500

    500

    #608DBE

    oklch(63.1% 0.089 251.4)

  7. Step 600

    600 (this color)

    #4171A5

    oklch(53.8% 0.097 251.8)

  8. Step 700

    700

    #376392

    oklch(49% 0.09 251.5)

  9. Step 800

    800

    #2E5177

    oklch(42.7% 0.076 251.8)

  10. Step 900

    900

    #2A4360

    oklch(37.6% 0.059 253)

  11. Step 950

    950

    #192838

    oklch(27.1% 0.036 250.8)

Export this scale for Tailwind in the Tailwind colors tool

#4171A5 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)#5B74A70.032
Deuteranopia (no green cones)#4E6AA40.022
Tritanopia (no blue cones)#007D830.082
Achromatopsia (no color)#6E6E6E0.097

Harmonies

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

Complementary

The opposite hue (180°).

  • #4171A5

    #4171A5

    oklch(53.8% 0.097 251.8)

  • #916424

    #916424

    oklch(53.9% 0.098 72.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #4171A5

    #4171A5

    oklch(53.8% 0.097 251.8)

  • #097A96

    #097A96

    oklch(53.8% 0.097 221.7)

  • #6566A5

    #6566A5

    oklch(53.7% 0.098 281.9)

Open the analogous palette in the generator

Split complementary

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

  • #4171A5

    #4171A5

    oklch(53.8% 0.097 251.8)

  • #9D5A3F

    #9D5A3F

    oklch(53.9% 0.097 42.4)

  • #7A7022

    #7A7022

    oklch(53.9% 0.097 101.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #4171A5

    #4171A5

    oklch(53.8% 0.097 251.8)

  • #9E555F

    #9E555F

    oklch(53.9% 0.097 12.1)

  • #597A3B

    #597A3B

    oklch(53.9% 0.098 131.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #4171A5

    #4171A5

    oklch(53.8% 0.097 251.8)

  • #94567E

    #94567E

    oklch(53.7% 0.097 341.7)

  • #916424

    #916424

    oklch(53.9% 0.098 72.1)

  • #2D7F5C

    #2D7F5C

    oklch(53.7% 0.097 161.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #4171A5 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.