#4E87C7

Closest named color: Cool Blue (#4984B8). oklch(61.3% 0.115 252.6), rgb(78, 135, 199).

Aa

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

About this color

#4E87C7 is a medium-dark, moderately saturated blue. In OKLCH its lightness is 61%, its chroma 0.115 and its hue 253°. Its hue sits on the cool side of the wheel. The nearest named color is Cool Blue (#4984B8), ΔE 0.024 away. Black text reads best on it, at 5.61:1.

Hue familyBlues
Lightnessmedium-dark (61%)
Chromamoderately saturated (0.115)
Temperaturecool
Nearest nameCool Blue (#4984B8)
Black text5.61:1
White text3.74:1

Values

HEX#4E87C7
RGBrgb(78, 135, 199)
HSLhsl(212, 52%, 54%)
OKLCHoklch(61.3% 0.115 252.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 #4E87C7 3.74:1 AA large text Lc -70.3 Content text, not long reading
Black text on #4E87C7 5.61:1 AA Lc 39.3 Non-text elements, placeholder text
#4E87C7 text on white 3.74:1 AA large text Lc 64.8 Content text, not long reading
#4E87C7 text on black 5.61:1 AA Lc -36.9 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

    #F2F6FA

    oklch(97.1% 0.007 247.9)

  2. Step 100

    100

    #E2EBF5

    oklch(93.6% 0.017 250.8)

  3. Step 200

    200

    #CBDBEE

    oklch(88.5% 0.031 252.7)

  4. Step 300

    300

    #A7C4E5

    oklch(81% 0.056 251.8)

  5. Step 400

    400

    #78A4D8

    oklch(70.7% 0.09 253.1)

  6. Step 500

    500 (this color)

    #4E87C7

    oklch(61.3% 0.115 252.6)

  7. Step 600

    600

    #3775BA

    oklch(55.5% 0.125 253.1)

  8. Step 700

    700

    #2962A0

    oklch(49% 0.116 252.9)

  9. Step 800

    800

    #235182

    oklch(42.8% 0.096 252.2)

  10. Step 900

    900

    #224368

    oklch(37.7% 0.075 252.8)

  11. Step 950

    950

    #14273D

    oklch(26.8% 0.048 253.2)

Export this scale for Tailwind in the Tailwind colors tool

#4E87C7 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)#6C8ACA0.035
Deuteranopia (no green cones)#5C7FC60.024
Tritanopia (no blue cones)#00969E0.095
Achromatopsia (no color)#8484840.115

Harmonies

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

Complementary

The opposite hue (180°).

  • #4E87C7

    #4E87C7

    oklch(61.3% 0.115 252.6)

  • #AE7827

    #AE7827

    oklch(61.4% 0.115 72.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #4E87C7

    #4E87C7

    oklch(61.3% 0.115 252.6)

  • #0092B5

    #0092B5

    oklch(61.2% 0.114 222.7)

  • #7A7AC7

    #7A7AC7

    oklch(61.3% 0.115 282.5)

Open the analogous palette in the generator

Split complementary

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

  • #4E87C7

    #4E87C7

    oklch(61.3% 0.115 252.6)

  • #BD6B49

    #BD6B49

    oklch(61.3% 0.115 42.8)

  • #918625

    #918625

    oklch(61.2% 0.115 102.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #4E87C7

    #4E87C7

    oklch(61.3% 0.115 252.6)

  • #BE6571

    #BE6571

    oklch(61.3% 0.114 12.5)

  • #699247

    #699247

    oklch(61.2% 0.114 132.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #4E87C7

    #4E87C7

    oklch(61.3% 0.115 252.6)

  • #B36797

    #B36797

    oklch(61.4% 0.115 342.5)

  • #AE7827

    #AE7827

    oklch(61.4% 0.115 72.8)

  • #31996F

    #31996F

    oklch(61.2% 0.115 162.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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