#4170AD

Closest named color: Flat Blue (#3C73A8). oklch(54% 0.109 255.6), rgb(65, 112, 173).

Aa

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

About this color

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

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

Values

HEX#4170AD
RGBrgb(65, 112, 173)
HSLhsl(214, 45%, 47%)
OKLCHoklch(54% 0.109 255.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 #4170AD 5.06:1 AA Lc -80.2 Fine for body text
Black text on #4170AD 4.14:1 AA large text Lc 29.3 Dividers and decoration only
#4170AD text on white 5.06:1 AA Lc 74.8 Content text, not long reading
#4170AD 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

    #F3F6FA

    oklch(97.2% 0.006 255.5)

  2. Step 100

    100

    #E4EAF3

    oklch(93.5% 0.014 258.3)

  3. Step 200

    200

    #CEDAEB

    oklch(88.4% 0.027 257)

  4. Step 300

    300

    #ACC3E1

    oklch(81% 0.049 255.1)

  5. Step 400

    400

    #80A3D1

    oklch(70.7% 0.078 255.5)

  6. Step 500

    500

    #5F8CC5

    oklch(63.2% 0.1 254.9)

  7. Step 600

    600 (this color)

    #4170AD

    oklch(54% 0.109 255.6)

  8. Step 700

    700

    #376299

    oklch(49.2% 0.101 255.4)

  9. Step 800

    800

    #2E507C

    oklch(42.7% 0.084 255.5)

  10. Step 900

    900

    #294364

    oklch(37.8% 0.065 255)

  11. Step 950

    950

    #18273A

    oklch(26.9% 0.041 254.8)

Export this scale for Tailwind in the Tailwind colors tool

#4170AD 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)#5674B00.028
Deuteranopia (no green cones)#476AAC0.017
Tritanopia (no blue cones)#007E860.091
Achromatopsia (no color)#6E6E6E0.109

Harmonies

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

Complementary

The opposite hue (180°).

  • #4170AD

    #4170AD

    oklch(54% 0.109 255.6)

  • #93640E

    #93640E

    oklch(54% 0.109 75.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #4170AD

    #4170AD

    oklch(54% 0.109 255.6)

  • #007A9C

    #007A9C

    oklch(54% 0.103 225.9)

  • #6A64AB

    #6A64AB

    oklch(54.1% 0.109 286)

Open the analogous palette in the generator

Split complementary

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

  • #4170AD

    #4170AD

    oklch(54% 0.109 255.6)

  • #A25834

    #A25834

    oklch(54% 0.11 45.5)

  • #787212

    #787212

    oklch(54.1% 0.109 105.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #4170AD

    #4170AD

    oklch(54% 0.109 255.6)

  • #A45259

    #A45259

    oklch(54% 0.108 16)

  • #517D39

    #517D39

    oklch(54.1% 0.109 135.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #4170AD

    #4170AD

    oklch(54% 0.109 255.6)

  • #9B537D

    #9B537D

    oklch(54.1% 0.109 345.4)

  • #93640E

    #93640E

    oklch(54% 0.109 75.2)

  • #0F825F

    #0F825F

    oklch(53.9% 0.109 165.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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