#4172CD

Closest named color: Windows Blue (#3778BF). oklch(56.4% 0.151 261.6), rgb(65, 114, 205).

Aa

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

About this color

#4172CD is a medium-dark, vivid blue. In OKLCH its lightness is 56%, its chroma 0.151 and its hue 262°. Its hue sits on the cool side of the wheel. The nearest named color is Windows Blue (#3778BF), ΔE 0.030 away. White text reads best on it, at 4.65:1.

Hue familyBlues
Lightnessmedium-dark (56%)
Chromavivid (0.151)
Temperaturecool
Nearest nameWindows Blue (#3778BF)
Black text4.51:1
White text4.65:1

Values

HEX#4172CD
RGBrgb(65, 114, 205)
HSLhsl(219, 58%, 53%)
OKLCHoklch(56.4% 0.151 261.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 #4172CD 4.65:1 AA Lc -77.5 Fine for body text
Black text on #4172CD 4.51:1 AA Lc 32.1 Non-text elements, placeholder text
#4172CD text on white 4.65:1 AA Lc 72.0 Content text, not long reading
#4172CD text on black 4.51:1 AA Lc -29.7 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

    #F2F6FC

    oklch(97.2% 0.009 258.3)

  2. Step 100

    100

    #E3EAF7

    oklch(93.6% 0.019 263)

  3. Step 200

    200

    #CCDAF3

    oklch(88.6% 0.038 262.1)

  4. Step 300

    300

    #A9C2ED

    oklch(81% 0.067 261.2)

  5. Step 400

    400

    #7BA1E4

    oklch(70.8% 0.107 261.3)

  6. Step 500

    500

    #5987DD

    oklch(63% 0.14 261.9)

  7. Step 600

    600 (this color)

    #4172CD

    oklch(56.4% 0.151 261.6)

  8. Step 700

    700

    #315DAF

    oklch(49.2% 0.14 261.5)

  9. Step 800

    800

    #294C8E

    oklch(42.7% 0.117 261.7)

  10. Step 900

    900

    #254071

    oklch(37.7% 0.09 261.4)

  11. Step 950

    950

    #162642

    oklch(27% 0.057 260.9)

Export this scale for Tailwind in the Tailwind colors tool

#4172CD 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)#457BD00.025
Deuteranopia (no green cones)#2C6ECB0.022
Tritanopia (no blue cones)#0087950.122
Achromatopsia (no color)#7474740.151

Harmonies

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

Complementary

The opposite hue (180°).

  • #4172CD

    #4172CD

    oklch(56.4% 0.151 261.6)

  • #986D00

    #986D00

    oklch(56.4% 0.116 81.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #4172CD

    #4172CD

    oklch(56.4% 0.151 261.6)

  • #0080AD

    #0080AD

    oklch(56.3% 0.115 232)

  • #7961C6

    #7961C6

    oklch(56.4% 0.151 291.8)

Open the analogous palette in the generator

Split complementary

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

  • #4172CD

    #4172CD

    oklch(56.4% 0.151 261.6)

  • #B65700

    #B65700

    oklch(56.4% 0.146 51.6)

  • #797C00

    #797C00

    oklch(56.5% 0.125 111.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #4172CD

    #4172CD

    oklch(56.4% 0.151 261.6)

  • #BE494D

    #BE494D

    oklch(56.4% 0.151 21.3)

  • #398B2F

    #398B2F

    oklch(56.6% 0.151 141.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #4172CD

    #4172CD

    oklch(56.4% 0.151 261.6)

  • #B54A80

    #B54A80

    oklch(56.6% 0.15 351.6)

  • #986D00

    #986D00

    oklch(56.4% 0.116 81.2)

  • #008A6E

    #008A6E

    oklch(56.4% 0.11 171.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #4172CD 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.