#4E5788

Closest named color: Dusk (#4E5481). oklch(47.1% 0.08 275), rgb(78, 87, 136).

Aa

White text reads best on this color (6.90:1).

About this color

#4E5788 is a medium-dark, moderately saturated blue. In OKLCH its lightness is 47%, its chroma 0.080 and its hue 275°. Its hue sits on the cool side of the wheel. The nearest named color is Dusk (#4E5481), ΔE 0.013 away. White text reads best on it, at 6.90:1.

Hue familyBlues
Lightnessmedium-dark (47%)
Chromamoderately saturated (0.080)
Temperaturecool
Nearest nameDusk (#4E5481)
Black text3.04:1
White text6.90:1

Values

HEX#4E5788
RGBrgb(78, 87, 136)
HSLhsl(231, 27%, 42%)
OKLCHoklch(47.1% 0.08 275)

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 #4E5788 6.90:1 AA Lc -88.8 Fine for body text
Black text on #4E5788 3.04:1 AA large text Lc 20.2 Dividers and decoration only
#4E5788 text on white 6.90:1 AA Lc 83.8 Fine for body text
#4E5788 text on black 3.04:1 AA large text Lc -18.2 Dividers and decoration only

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 700.

  1. Step 50

    50

    #F4F5F9

    oklch(97.1% 0.005 275)

  2. Step 100

    100

    #E7E9F2

    oklch(93.5% 0.012 276.1)

  3. Step 200

    200

    #D5D8E8

    oklch(88.5% 0.022 277.5)

  4. Step 300

    300

    #B9BFDA

    oklch(80.9% 0.039 275.6)

  5. Step 400

    400

    #959EC8

    oklch(70.7% 0.062 275.3)

  6. Step 500

    500

    #7B86BA

    oklch(63.1% 0.079 274.7)

  7. Step 600

    600

    #646FA6

    oklch(55.6% 0.087 274.6)

  8. Step 700

    700 (this color)

    #4E5788

    oklch(47.1% 0.08 275)

  9. Step 800

    800

    #444C73

    oklch(42.7% 0.066 274.4)

  10. Step 900

    900

    #393F5D

    oklch(37.6% 0.052 274.9)

  11. Step 950

    950

    #222537

    oklch(27% 0.034 276.6)

Export this scale for Tailwind in the Tailwind colors tool

#4E5788 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)#465C8A0.017
Deuteranopia (no green cones)#4258870.016
Tritanopia (no blue cones)#3B61690.072
Achromatopsia (no color)#5A5A5A0.080

Harmonies

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

Complementary

The opposite hue (180°).

  • #4E5788

    #4E5788

    oklch(47.1% 0.08 275)

  • #695A1F

    #695A1F

    oklch(47% 0.08 94.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #4E5788

    #4E5788

    oklch(47.1% 0.08 275)

  • #305F85

    #305F85

    oklch(47% 0.081 245.1)

  • #664F7F

    #664F7F

    oklch(47.1% 0.08 305.6)

Open the analogous palette in the generator

Split complementary

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

  • #4E5788

    #4E5788

    oklch(47.1% 0.08 275)

  • #7A5126

    #7A5126

    oklch(47.1% 0.08 64.9)

  • #51632E

    #51632E

    oklch(47.2% 0.08 124.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #4E5788

    #4E5788

    oklch(47.1% 0.08 275)

  • #824A3C

    #824A3C

    oklch(47.2% 0.08 34.9)

  • #326847

    #326847

    oklch(47% 0.079 155)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #4E5788

    #4E5788

    oklch(47.1% 0.08 275)

  • #814755

    #814755

    oklch(47.2% 0.081 5.1)

  • #695A1F

    #695A1F

    oklch(47% 0.08 94.8)

  • #0B6961

    #0B6961

    oklch(47% 0.08 185.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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