#4E5287

Closest named color: Twilight (#4E518B). oklch(46% 0.086 279.2), rgb(78, 82, 135).

Aa

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

About this color

#4E5287 is a medium-dark, moderately saturated blue. In OKLCH its lightness is 46%, its chroma 0.086 and its hue 279°. Its hue sits on the cool side of the wheel. The nearest named color is Twilight (#4E518B), ΔE 0.008 away. White text reads best on it, at 7.28:1.

Hue familyBlues
Lightnessmedium-dark (46%)
Chromamoderately saturated (0.086)
Temperaturecool
Nearest nameTwilight (#4E518B)
Black text2.88:1
White text7.28:1

Values

HEX#4E5287
RGBrgb(78, 82, 135)
HSLhsl(236, 27%, 42%)
OKLCHoklch(46% 0.086 279.2)

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 #4E5287 7.28:1 AAA Lc -90.1 Preferred for body text
Black text on #4E5287 2.88:1 Fails Lc 18.8 Dividers and decoration only
#4E5287 text on white 7.28:1 AAA Lc 85.2 Fine for body text
#4E5287 text on black 2.88:1 Fails Lc -16.8 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

    #E8E9F2

    oklch(93.6% 0.012 281.1)

  3. Step 200

    200

    #D5D8E9

    oklch(88.5% 0.023 277.9)

  4. Step 300

    300

    #BABEDC

    oklch(80.8% 0.042 279.4)

  5. Step 400

    400

    #979DCA

    oklch(70.7% 0.066 278.6)

  6. Step 500

    500

    #7E84BC

    oklch(63% 0.084 279)

  7. Step 600

    600

    #686DA9

    oklch(55.6% 0.093 279.3)

  8. Step 700

    700 (this color)

    #4E5287

    oklch(46% 0.086 279.2)

  9. Step 800

    800

    #474A75

    oklch(42.6% 0.071 279.9)

  10. Step 900

    900

    #3B3E5F

    oklch(37.6% 0.056 279.3)

  11. Step 950

    950

    #232537

    oklch(27.1% 0.034 279)

Export this scale for Tailwind in the Tailwind colors tool

#4E5287 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)#4059890.025
Deuteranopia (no green cones)#3C54860.025
Tritanopia (no blue cones)#3C5D660.076
Achromatopsia (no color)#5656560.086

Harmonies

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

Complementary

The opposite hue (180°).

  • #4E5287

    #4E5287

    oklch(46% 0.086 279.2)

  • #645814

    #645814

    oklch(45.9% 0.086 98.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #4E5287

    #4E5287

    oklch(46% 0.086 279.2)

  • #2E5B86

    #2E5B86

    oklch(46% 0.086 249.3)

  • #664A7C

    #664A7C

    oklch(46% 0.085 309.1)

Open the analogous palette in the generator

Split complementary

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

  • #4E5287

    #4E5287

    oklch(46% 0.086 279.2)

  • #774E1A

    #774E1A

    oklch(46% 0.086 68.6)

  • #49612A

    #49612A

    oklch(46% 0.086 128.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #4E5287

    #4E5287

    oklch(46% 0.086 279.2)

  • #804632

    #804632

    oklch(46% 0.086 39.6)

  • #236646

    #236646

    oklch(45.9% 0.086 159.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #4E5287

    #4E5287

    oklch(46% 0.086 279.2)

  • #80424E

    #80424E

    oklch(46% 0.086 8.7)

  • #645814

    #645814

    oklch(45.9% 0.086 98.8)

  • #006661

    #006661

    oklch(46% 0.08 188.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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