#4A87F1

Closest named color: Soft Blue (#6488EA). oklch(63.6% 0.171 260.6), rgb(74, 135, 241).

Aa

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

About this color

#4A87F1 is a medium-light, vivid blue. In OKLCH its lightness is 64%, its chroma 0.171 and its hue 261°. Its hue sits on the cool side of the wheel. The nearest named color is Soft Blue (#6488EA), ΔE 0.028 away. Black text reads best on it, at 6.02:1.

Hue familyBlues
Lightnessmedium-light (64%)
Chromavivid (0.171)
Temperaturecool
Nearest nameSoft Blue (#6488EA)
Black text6.02:1
White text3.48:1

Values

HEX#4A87F1
RGBrgb(74, 135, 241)
HSLhsl(218, 86%, 62%)
OKLCHoklch(63.6% 0.171 260.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 #4A87F1 3.48:1 AA large text Lc -67.5 Content text, not long reading
Black text on #4A87F1 6.02:1 AA Lc 42.0 Non-text elements, placeholder text
#4A87F1 text on white 3.48:1 AA large text Lc 62.1 Content text, not long reading
#4A87F1 text on black 6.02:1 AA Lc -39.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 500.

  1. Step 50

    50

    #F1F6FD

    oklch(97.1% 0.011 256.7)

  2. Step 100

    100

    #E1EAFB

    oklch(93.5% 0.025 263.3)

  3. Step 200

    200

    #C8DAF9

    oklch(88.5% 0.047 261.4)

  4. Step 300

    300

    #A2C2F7

    oklch(80.9% 0.083 260.4)

  5. Step 400

    400

    #6FA0F4

    oklch(70.7% 0.135 260.7)

  6. Step 500

    500 (this color)

    #4A87F1

    oklch(63.6% 0.171 260.6)

  7. Step 600

    600

    #2B6CDE

    oklch(55.6% 0.187 260.8)

  8. Step 700

    700

    #1E5AC1

    oklch(49.2% 0.173 260.6)

  9. Step 800

    800

    #1B4A9C

    oklch(42.8% 0.143 260.7)

  10. Step 900

    900

    #1C3F7C

    oklch(37.8% 0.111 260.6)

  11. Step 950

    950

    #112548

    oklch(26.9% 0.07 260.7)

Export this scale for Tailwind in the Tailwind colors tool

#4A87F1 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)#5292F50.031
Deuteranopia (no green cones)#3382EF0.024
Tritanopia (no blue cones)#00A0B00.138
Achromatopsia (no color)#8989890.171

Harmonies

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

Complementary

The opposite hue (180°).

  • #4A87F1

    #4A87F1

    oklch(63.6% 0.171 260.6)

  • #B38100

    #B38100

    oklch(63.6% 0.131 81.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #4A87F1

    #4A87F1

    oklch(63.6% 0.171 260.6)

  • #0098C9

    #0098C9

    oklch(63.7% 0.127 230.2)

  • #8D73E9

    #8D73E9

    oklch(63.5% 0.171 290.8)

Open the analogous palette in the generator

Split complementary

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

  • #4A87F1

    #4A87F1

    oklch(63.6% 0.171 260.6)

  • #D76600

    #D76600

    oklch(63.6% 0.167 50.6)

  • #909100

    #909100

    oklch(63.5% 0.139 110.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #4A87F1

    #4A87F1

    oklch(63.6% 0.171 260.6)

  • #DF565D

    #DF565D

    oklch(63.5% 0.171 20.4)

  • #46A335

    #46A335

    oklch(63.6% 0.172 140.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #4A87F1

    #4A87F1

    oklch(63.6% 0.171 260.6)

  • #D45798

    #D45798

    oklch(63.6% 0.171 350.7)

  • #B38100

    #B38100

    oklch(63.6% 0.131 81.2)

  • #00A380

    #00A380

    oklch(63.7% 0.125 170.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #4A87F1 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.