#4172F2

Closest named color: Clear Blue (#247AFD). oklch(59% 0.2 265), rgb(65, 114, 242).

Aa

Black text reads best on this color (4.91:1).

About this color

#4172F2 is a medium-dark, vivid blue. In OKLCH its lightness is 59%, its chroma 0.200 and its hue 265°. Its hue sits on the cool side of the wheel. The nearest named color is Clear Blue (#247AFD), ΔE 0.028 away. Black text reads best on it, at 4.91:1.

Hue familyBlues
Lightnessmedium-dark (59%)
Chromavivid (0.200)
Temperaturecool
Nearest nameClear Blue (#247AFD)
Black text4.91:1
White text4.27:1

Values

HEX#4172F2
RGBrgb(65, 114, 242)
HSLhsl(223, 87%, 60%)
OKLCHoklch(59% 0.2 265)

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 #4172F2 4.27:1 AA large text Lc -74.5 Content text, not long reading
Black text on #4172F2 4.91:1 AA Lc 35.0 Non-text elements, placeholder text
#4172F2 text on white 4.27:1 AA large text Lc 69.1 Content text, not long reading
#4172F2 text on black 4.91:1 AA Lc -32.6 Non-text elements, placeholder text

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

    #F1F6FE

    oklch(97.2% 0.012 259.8)

  2. Step 100

    100

    #E1EAFC

    oklch(93.6% 0.026 264.4)

  3. Step 200

    200

    #C9D9FB

    oklch(88.4% 0.05 265.4)

  4. Step 300

    300

    #A4C0FC

    oklch(80.9% 0.091 265)

  5. Step 400

    400

    #749DFA

    oklch(70.7% 0.144 265)

  6. Step 500

    500

    #5181F7

    oklch(63% 0.184 264.9)

  7. Step 600

    600 (this color)

    #4172F2

    oklch(59% 0.2 265)

  8. Step 700

    700

    #2B55C8

    oklch(49.2% 0.185 265)

  9. Step 800

    800

    #2446A2

    oklch(42.7% 0.154 265)

  10. Step 900

    900

    #213C80

    oklch(37.6% 0.12 264.9)

  11. Step 950

    950

    #14244B

    oklch(27.1% 0.075 265)

Export this scale for Tailwind in the Tailwind colors tool

#4172F2 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)#0B83F60.045
Deuteranopia (no green cones)#0073EF0.032
Tritanopia (no blue cones)#0091A70.158
Achromatopsia (no color)#7A7A7A0.200

Harmonies

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

Complementary

The opposite hue (180°).

  • #4172F2

    #4172F2

    oklch(59% 0.2 265)

  • #9E7600

    #9E7600

    oklch(58.9% 0.121 84.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #4172F2

    #4172F2

    oklch(59% 0.2 265)

  • #0088BC

    #0088BC

    oklch(59.1% 0.124 234.4)

  • #895BE5

    #895BE5

    oklch(59% 0.2 294.9)

Open the analogous palette in the generator

Split complementary

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

  • #4172F2

    #4172F2

    oklch(59% 0.2 265)

  • #BD6100

    #BD6100

    oklch(59.1% 0.146 55.2)

  • #7B8600

    #7B8600

    oklch(59.1% 0.134 115.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #4172F2

    #4172F2

    oklch(59% 0.2 265)

  • #DB383A

    #DB383A

    oklch(59.1% 0.2 25.2)

  • #009828

    #009828

    oklch(59.1% 0.186 145)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #4172F2

    #4172F2

    oklch(59% 0.2 265)

  • #D13783

    #D13783

    oklch(59% 0.2 355.1)

  • #9E7600

    #9E7600

    oklch(58.9% 0.121 84.8)

  • #009279

    #009279

    oklch(58.9% 0.111 174.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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