#4E87CD

Closest named color: Cool Blue (#4984B8). oklch(61.6% 0.123 254.5), rgb(78, 135, 205).

Aa

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

About this color

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

Hue familyBlues
Lightnessmedium-dark (62%)
Chromamoderately saturated (0.123)
Temperaturecool
Nearest nameCool Blue (#4984B8)
Black text5.67:1
White text3.70:1

Values

HEX#4E87CD
RGBrgb(78, 135, 205)
HSLhsl(213, 56%, 55%)
OKLCHoklch(61.6% 0.123 254.5)

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 #4E87CD 3.70:1 AA large text Lc -69.9 Content text, not long reading
Black text on #4E87CD 5.67:1 AA Lc 39.7 Non-text elements, placeholder text
#4E87CD text on white 3.70:1 AA large text Lc 64.4 Content text, not long reading
#4E87CD text on black 5.67:1 AA Lc -37.3 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

    #F2F6FB

    oklch(97.2% 0.008 253.9)

  2. Step 100

    100

    #E2EBF6

    oklch(93.7% 0.018 253.3)

  3. Step 200

    200

    #CBDBEF

    oklch(88.6% 0.033 254)

  4. Step 300

    300

    #A7C3E7

    oklch(80.9% 0.06 254.8)

  5. Step 400

    400

    #77A3DC

    oklch(70.6% 0.097 255.2)

  6. Step 500

    500 (this color)

    #4E87CD

    oklch(61.6% 0.123 254.5)

  7. Step 600

    600

    #3674BF

    oklch(55.5% 0.133 254.8)

  8. Step 700

    700

    #2861A5

    oklch(49.1% 0.124 254.8)

  9. Step 800

    800

    #225086

    oklch(42.8% 0.103 254.3)

  10. Step 900

    900

    #21436B

    oklch(37.8% 0.08 253.9)

  11. Step 950

    950

    #14273F

    oklch(27% 0.052 255)

Export this scale for Tailwind in the Tailwind colors tool

#4E87CD 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)#698BD00.033
Deuteranopia (no green cones)#587FCC0.022
Tritanopia (no blue cones)#0097A00.101
Achromatopsia (no color)#8585850.123

Harmonies

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

Complementary

The opposite hue (180°).

  • #4E87CD

    #4E87CD

    oklch(61.6% 0.123 254.5)

  • #B07819

    #B07819

    oklch(61.6% 0.123 74.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #4E87CD

    #4E87CD

    oklch(61.6% 0.123 254.5)

  • #0093B9

    #0093B9

    oklch(61.7% 0.116 224.5)

  • #7D79CC

    #7D79CC

    oklch(61.6% 0.124 284.3)

Open the analogous palette in the generator

Split complementary

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

  • #4E87CD

    #4E87CD

    oklch(61.6% 0.123 254.5)

  • #C16A43

    #C16A43

    oklch(61.6% 0.123 44)

  • #91881A

    #91881A

    oklch(61.6% 0.122 104.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #4E87CD

    #4E87CD

    oklch(61.6% 0.123 254.5)

  • #C3636E

    #C3636E

    oklch(61.6% 0.123 14.2)

  • #649545

    #649545

    oklch(61.6% 0.123 134.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #4E87CD

    #4E87CD

    oklch(61.6% 0.123 254.5)

  • #B86596

    #B86596

    oklch(61.7% 0.122 344.9)

  • #B07819

    #B07819

    oklch(61.6% 0.123 74.1)

  • #1E9C72

    #1E9C72

    oklch(61.7% 0.123 164.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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