#4E7EC4

Closest named color: Cool Blue (#4984B8). oklch(59.1% 0.12 257.8), rgb(78, 126, 196).

Aa

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

About this color

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

Hue familyBlues
Lightnessmedium-dark (59%)
Chromamoderately saturated (0.120)
Temperaturecool
Nearest nameCool Blue (#4984B8)
Black text5.10:1
White text4.11:1

Values

HEX#4E7EC4
RGBrgb(78, 126, 196)
HSLhsl(216, 50%, 54%)
OKLCHoklch(59.1% 0.12 257.8)

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 #4E7EC4 4.11:1 AA large text Lc -73.6 Content text, not long reading
Black text on #4E7EC4 5.10:1 AA Lc 36.0 Non-text elements, placeholder text
#4E7EC4 text on white 4.11:1 AA large text Lc 68.1 Content text, not long reading
#4E7EC4 text on black 5.10:1 AA Lc -33.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

    #F2F6FA

    oklch(97.1% 0.007 247.9)

  2. Step 100

    100

    #E3EAF5

    oklch(93.5% 0.017 259.4)

  3. Step 200

    200

    #CDDAED

    oklch(88.4% 0.03 257.8)

  4. Step 300

    300

    #ABC2E4

    oklch(80.8% 0.054 258)

  5. Step 400

    400

    #7FA2D6

    oklch(70.6% 0.086 258.1)

  6. Step 500

    500

    #5E8ACC

    oklch(63% 0.111 258.3)

  7. Step 600

    600 (this color)

    #4E7EC4

    oklch(59.1% 0.12 257.8)

  8. Step 700

    700

    #35609F

    oklch(49% 0.112 257.9)

  9. Step 800

    800

    #2D4F81

    oklch(42.7% 0.093 258)

  10. Step 900

    900

    #284267

    oklch(37.7% 0.071 257.3)

  11. Step 950

    950

    #18273D

    oklch(27.1% 0.046 257.8)

Export this scale for Tailwind in the Tailwind colors tool

#4E7EC4 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)#6083C70.026
Deuteranopia (no green cones)#5178C30.016
Tritanopia (no blue cones)#008E980.102
Achromatopsia (no color)#7D7D7D0.120

Harmonies

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

Complementary

The opposite hue (180°).

  • #4E7EC4

    #4E7EC4

    oklch(59.1% 0.12 257.8)

  • #A4730D

    #A4730D

    oklch(59.1% 0.12 78)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #4E7EC4

    #4E7EC4

    oklch(59.1% 0.12 257.8)

  • #008AB3

    #008AB3

    oklch(59.1% 0.115 227.8)

  • #7A71C1

    #7A71C1

    oklch(59.2% 0.12 287.3)

Open the analogous palette in the generator

Split complementary

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

  • #4E7EC4

    #4E7EC4

    oklch(59.1% 0.12 257.8)

  • #B66538

    #B66538

    oklch(59.1% 0.12 48.1)

  • #858217

    #858217

    oklch(59.1% 0.12 107.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #4E7EC4

    #4E7EC4

    oklch(59.1% 0.12 257.8)

  • #BA5D62

    #BA5D62

    oklch(59.1% 0.12 18.1)

  • #588E44

    #588E44

    oklch(59.1% 0.12 137.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #4E7EC4

    #4E7EC4

    oklch(59.1% 0.12 257.8)

  • #B05E8A

    #B05E8A

    oklch(59.1% 0.119 347.9)

  • #A4730D

    #A4730D

    oklch(59.1% 0.12 78)

  • #00946F

    #00946F

    oklch(59.2% 0.121 167.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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