#4171A7

Closest named color: Flat Blue (#3C73A8). oklch(53.9% 0.1 252.6), rgb(65, 113, 167).

Aa

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

About this color

#4171A7 is a medium-dark, moderately saturated blue. In OKLCH its lightness is 54%, its chroma 0.100 and its hue 253°. 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.06:1.

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

Values

HEX#4171A7
RGBrgb(65, 113, 167)
HSLhsl(212, 44%, 45%)
OKLCHoklch(53.9% 0.1 252.6)

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 #4171A7 5.06:1 AA Lc -80.2 Fine for body text
Black text on #4171A7 4.14:1 AA large text Lc 29.3 Dividers and decoration only
#4171A7 text on white 5.06:1 AA Lc 74.8 Content text, not long reading
#4171A7 text on black 4.14:1 AA large text Lc -26.9 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

    #E4EBF3

    oklch(93.7% 0.013 251.6)

  3. Step 200

    200

    #CEDBEA

    oklch(88.6% 0.025 251.9)

  4. Step 300

    300

    #ACC3DE

    oklch(80.9% 0.046 252.5)

  5. Step 400

    400

    #80A4CD

    oklch(70.7% 0.072 252.1)

  6. Step 500

    500

    #608DC0

    oklch(63.2% 0.092 252.3)

  7. Step 600

    600 (this color)

    #4171A7

    oklch(53.9% 0.1 252.6)

  8. Step 700

    700

    #376394

    oklch(49.1% 0.093 252.5)

  9. Step 800

    800

    #2E5178

    oklch(42.7% 0.077 252.4)

  10. Step 900

    900

    #294361

    oklch(37.6% 0.061 252.9)

  11. Step 950

    950

    #192739

    oklch(26.9% 0.039 255.1)

Export this scale for Tailwind in the Tailwind colors tool

#4171A7 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)#5A74A90.031
Deuteranopia (no green cones)#4D6AA60.022
Tritanopia (no blue cones)#007D840.083
Achromatopsia (no color)#6E6E6E0.100

Harmonies

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

Complementary

The opposite hue (180°).

  • #4171A7

    #4171A7

    oklch(53.9% 0.1 252.6)

  • #926421

    #926421

    oklch(54% 0.1 72.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #4171A7

    #4171A7

    oklch(53.9% 0.1 252.6)

  • #007B98

    #007B98

    oklch(54% 0.1 221.9)

  • #6666A7

    #6666A7

    oklch(53.9% 0.101 282.5)

Open the analogous palette in the generator

Split complementary

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

  • #4171A7

    #4171A7

    oklch(53.9% 0.1 252.6)

  • #9E593D

    #9E593D

    oklch(53.8% 0.1 42.4)

  • #7A701F

    #7A701F

    oklch(53.9% 0.1 102.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #4171A7

    #4171A7

    oklch(53.9% 0.1 252.6)

  • #A0545E

    #A0545E

    oklch(53.9% 0.101 12.7)

  • #577B3B

    #577B3B

    oklch(54% 0.101 133)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #4171A7

    #4171A7

    oklch(53.9% 0.1 252.6)

  • #96567E

    #96567E

    oklch(54% 0.099 342.8)

  • #926421

    #926421

    oklch(54% 0.1 72.3)

  • #29805D

    #29805D

    oklch(53.9% 0.1 162.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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