#4171AB

Closest named color: Flat Blue (#3C73A8). oklch(54.2% 0.105 254.2), rgb(65, 113, 171).

Aa

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

About this color

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

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

Values

HEX#4171AB
RGBrgb(65, 113, 171)
HSLhsl(213, 45%, 46%)
OKLCHoklch(54.2% 0.105 254.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 #4171AB 5.03:1 AA Lc -80.0 Fine for body text
Black text on #4171AB 4.17:1 AA large text Lc 29.5 Dividers and decoration only
#4171AB text on white 5.03:1 AA Lc 74.6 Content text, not long reading
#4171AB text on black 4.17:1 AA large text Lc -27.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

    #F3F6FA

    oklch(97.2% 0.006 255.5)

  2. Step 100

    100

    #E4EBF3

    oklch(93.7% 0.013 251.6)

  3. Step 200

    200

    #CEDAEB

    oklch(88.4% 0.027 257)

  4. Step 300

    300

    #ACC3DF

    oklch(80.9% 0.047 253.5)

  5. Step 400

    400

    #80A3D0

    oklch(70.6% 0.077 255)

  6. Step 500

    500

    #5F8CC3

    oklch(63.1% 0.097 254.1)

  7. Step 600

    600 (this color)

    #4171AB

    oklch(54.2% 0.105 254.2)

  8. Step 700

    700

    #376297

    oklch(49.1% 0.098 254.6)

  9. Step 800

    800

    #2E507A

    oklch(42.6% 0.081 254.6)

  10. Step 900

    900

    #294363

    oklch(37.8% 0.064 254.3)

  11. Step 950

    950

    #18273A

    oklch(26.9% 0.041 254.8)

Export this scale for Tailwind in the Tailwind colors tool

#4171AB 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)#5875AD0.030
Deuteranopia (no green cones)#4A6AAA0.020
Tritanopia (no blue cones)#007E860.087
Achromatopsia (no color)#6F6F6F0.105

Harmonies

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

Complementary

The opposite hue (180°).

  • #4171AB

    #4171AB

    oklch(54.2% 0.105 254.2)

  • #936518

    #936518

    oklch(54.2% 0.105 74.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #4171AB

    #4171AB

    oklch(54.2% 0.105 254.2)

  • #007B9B

    #007B9B

    oklch(54.2% 0.102 224.2)

  • #6865AA

    #6865AA

    oklch(54% 0.106 284.2)

Open the analogous palette in the generator

Split complementary

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

  • #4171AB

    #4171AB

    oklch(54.2% 0.105 254.2)

  • #A15939

    #A15939

    oklch(54.2% 0.105 44)

  • #797218

    #797218

    oklch(54.2% 0.106 104.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #4171AB

    #4171AB

    oklch(54.2% 0.105 254.2)

  • #A3535C

    #A3535C

    oklch(54.1% 0.106 14.2)

  • #557C3A

    #557C3A

    oklch(54.1% 0.104 134)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #4171AB

    #4171AB

    oklch(54.2% 0.105 254.2)

  • #99547E

    #99547E

    oklch(54% 0.106 343.9)

  • #936518

    #936518

    oklch(54.2% 0.105 74.7)

  • #1E825F

    #1E825F

    oklch(54.2% 0.105 164.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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