#4170A5

Closest named color: Flat Blue (#3C73A8). oklch(53.6% 0.098 252.7), rgb(65, 112, 165).

Aa

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

About this color

#4170A5 is a medium-dark, moderately saturated blue. In OKLCH its lightness is 54%, its chroma 0.098 and its hue 253°. 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.13:1.

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

Values

HEX#4170A5
RGBrgb(65, 112, 165)
HSLhsl(212, 43%, 45%)
OKLCHoklch(53.6% 0.098 252.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 #4170A5 5.13:1 AA Lc -80.6 Fine for body text
Black text on #4170A5 4.08:1 AA large text Lc 28.8 Dividers and decoration only
#4170A5 text on white 5.13:1 AA Lc 75.3 Fine for body text
#4170A5 text on black 4.08:1 AA large text Lc -26.5 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

    #618DBF

    oklch(63.2% 0.09 252.4)

  7. Step 600

    600 (this color)

    #4170A5

    oklch(53.6% 0.098 252.7)

  8. Step 700

    700

    #386393

    oklch(49.1% 0.091 252.5)

  9. Step 800

    800

    #2F5177

    oklch(42.7% 0.075 252.4)

  10. Step 900

    900

    #2A4360

    oklch(37.6% 0.059 253)

  11. Step 950

    950

    #192738

    oklch(26.9% 0.037 253.8)

Export this scale for Tailwind in the Tailwind colors tool

#4170A5 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)#5A73A70.031
Deuteranopia (no green cones)#4C69A40.021
Tritanopia (no blue cones)#007C830.082
Achromatopsia (no color)#6D6D6D0.098

Harmonies

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

Complementary

The opposite hue (180°).

  • #4170A5

    #4170A5

    oklch(53.6% 0.098 252.7)

  • #906322

    #906322

    oklch(53.5% 0.098 72.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #4170A5

    #4170A5

    oklch(53.6% 0.098 252.7)

  • #057997

    #057997

    oklch(53.5% 0.099 223.3)

  • #6565A5

    #6565A5

    oklch(53.5% 0.099 282.5)

Open the analogous palette in the generator

Split complementary

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

  • #4170A5

    #4170A5

    oklch(53.6% 0.098 252.7)

  • #9D593D

    #9D593D

    oklch(53.7% 0.099 42.7)

  • #786F20

    #786F20

    oklch(53.5% 0.098 102.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #4170A5

    #4170A5

    oklch(53.6% 0.098 252.7)

  • #9E545D

    #9E545D

    oklch(53.6% 0.098 13.2)

  • #57793B

    #57793B

    oklch(53.5% 0.098 132.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #4170A5

    #4170A5

    oklch(53.6% 0.098 252.7)

  • #94557D

    #94557D

    oklch(53.5% 0.099 342.3)

  • #906322

    #906322

    oklch(53.5% 0.098 72.3)

  • #2A7F5C

    #2A7F5C

    oklch(53.6% 0.099 162.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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