#4E64D9

Closest named color: Royal Blue (#4169E1). oklch(55.1% 0.18 271.3), rgb(78, 100, 217).

Aa

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

About this color

#4E64D9 is a medium-dark, vivid blue. In OKLCH its lightness is 55%, its chroma 0.180 and its hue 271°. Its hue sits on the cool side of the wheel. The nearest named color is Royal Blue (#4169E1), ΔE 0.020 away. White text reads best on it, at 5.06:1.

Hue familyBlues
Lightnessmedium-dark (55%)
Chromavivid (0.180)
Temperaturecool
Nearest nameRoyal Blue (#4169E1)
Black text4.14:1
White text5.06:1

Values

HEX#4E64D9
RGBrgb(78, 100, 217)
HSLhsl(231, 65%, 58%)
OKLCHoklch(55.1% 0.18 271.3)

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 #4E64D9 5.06:1 AA Lc -80.0 Fine for body text
Black text on #4E64D9 4.14:1 AA large text Lc 29.5 Dividers and decoration only
#4E64D9 text on white 5.06:1 AA Lc 74.6 Content text, not long reading
#4E64D9 text on black 4.14:1 AA large text Lc -27.1 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 600.

  1. Step 50

    50

    #F3F5FD

    oklch(97.1% 0.011 274.9)

  2. Step 100

    100

    #E4E9FA

    oklch(93.5% 0.024 272.8)

  3. Step 200

    200

    #CED8F8

    oklch(88.5% 0.045 271.7)

  4. Step 300

    300

    #ADBEF6

    oklch(80.8% 0.082 271.4)

  5. Step 400

    400

    #839BF1

    oklch(70.7% 0.129 271)

  6. Step 500

    500

    #667FEC

    oklch(63% 0.165 271.2)

  7. Step 600

    600 (this color)

    #4E64D9

    oklch(55.1% 0.18 271.3)

  8. Step 700

    700

    #4154BE

    oklch(49.2% 0.167 271.3)

  9. Step 800

    800

    #35459A

    oklch(42.7% 0.139 271.3)

  10. Step 900

    900

    #2E3B7A

    oklch(37.7% 0.108 271.6)

  11. Step 950

    950

    #1B2347

    oklch(27% 0.068 271.8)

Export this scale for Tailwind in the Tailwind colors tool

#4E64D9 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)#0C75DD0.055
Deuteranopia (no green cones)#0069D70.049
Tritanopia (no blue cones)#0080950.151
Achromatopsia (no color)#6E6E6E0.180

Harmonies

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

Complementary

The opposite hue (180°).

  • #4E64D9

    #4E64D9

    oklch(55.1% 0.18 271.3)

  • #8A6E00

    #8A6E00

    oklch(55% 0.112 91.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #4E64D9

    #4E64D9

    oklch(55.1% 0.18 271.3)

  • #0079B5

    #0079B5

    oklch(55.1% 0.128 241)

  • #8650C8

    #8650C8

    oklch(55.1% 0.18 301.5)

Open the analogous palette in the generator

Split complementary

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

  • #4E64D9

    #4E64D9

    oklch(55.1% 0.18 271.3)

  • #A65D00

    #A65D00

    oklch(55.1% 0.128 61.1)

  • #667D00

    #667D00

    oklch(55.1% 0.133 121.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #4E64D9

    #4E64D9

    oklch(55.1% 0.18 271.3)

  • #C53925

    #C53925

    oklch(55.1% 0.18 31.2)

  • #008942

    #008942

    oklch(55.1% 0.147 151.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #4E64D9

    #4E64D9

    oklch(55.1% 0.18 271.3)

  • #BF346B

    #BF346B

    oklch(55% 0.18 1.1)

  • #8A6E00

    #8A6E00

    oklch(55% 0.112 91.1)

  • #008475

    #008475

    oklch(55% 0.099 181.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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