#4E7AEC

Closest named color: Cornflower (#6A79F7). oklch(60.7% 0.179 265.5), rgb(78, 122, 236).

Aa

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

About this color

#4E7AEC is a medium-dark, vivid blue. In OKLCH its lightness is 61%, its chroma 0.179 and its hue 266°. Its hue sits on the cool side of the wheel. The nearest named color is Cornflower (#6A79F7), ΔE 0.037 away. Black text reads best on it, at 5.31:1.

Hue familyBlues
Lightnessmedium-dark (61%)
Chromavivid (0.179)
Temperaturecool
Nearest nameCornflower (#6A79F7)
Black text5.31:1
White text3.94:1

Values

HEX#4E7AEC
RGBrgb(78, 122, 236)
HSLhsl(223, 81%, 62%)
OKLCHoklch(60.7% 0.179 265.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 #4E7AEC 3.94:1 AA large text Lc -72.0 Content text, not long reading
Black text on #4E7AEC 5.31:1 AA Lc 37.6 Non-text elements, placeholder text
#4E7AEC text on white 3.94:1 AA large text Lc 66.5 Content text, not long reading
#4E7AEC text on black 5.31:1 AA Lc -35.2 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

    #F2F5FE

    oklch(97% 0.012 271.3)

  2. Step 100

    100

    #E2EAFB

    oklch(93.6% 0.025 265.6)

  3. Step 200

    200

    #CAD9FA

    oklch(88.5% 0.048 266)

  4. Step 300

    300

    #A6C0FA

    oklch(80.9% 0.087 265.8)

  5. Step 400

    400

    #769DF8

    oklch(70.7% 0.141 265.4)

  6. Step 500

    500 (this color)

    #4E7AEC

    oklch(60.7% 0.179 265.5)

  7. Step 600

    600

    #3B68E3

    oklch(55.7% 0.194 265.3)

  8. Step 700

    700

    #2E55C5

    oklch(49% 0.181 265.5)

  9. Step 800

    800

    #27469F

    oklch(42.6% 0.149 265.8)

  10. Step 900

    900

    #233C7F

    oklch(37.7% 0.118 265.6)

  11. Step 950

    950

    #15244A

    oklch(27% 0.073 265.6)

Export this scale for Tailwind in the Tailwind colors tool

#4E7AEC 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)#3C88F00.036
Deuteranopia (no green cones)#0E79EA0.040
Tritanopia (no blue cones)#0095A80.146
Achromatopsia (no color)#8080800.179

Harmonies

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

Complementary

The opposite hue (180°).

  • #4E7AEC

    #4E7AEC

    oklch(60.7% 0.179 265.5)

  • #A47B00

    #A47B00

    oklch(60.7% 0.124 85.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #4E7AEC

    #4E7AEC

    oklch(60.7% 0.179 265.5)

  • #008DC5

    #008DC5

    oklch(60.8% 0.13 235.5)

  • #8D66E0

    #8D66E0

    oklch(60.8% 0.179 295.3)

Open the analogous palette in the generator

Split complementary

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

  • #4E7AEC

    #4E7AEC

    oklch(60.7% 0.179 265.5)

  • #C46500

    #C46500

    oklch(60.7% 0.15 55.3)

  • #808B00

    #808B00

    oklch(60.7% 0.138 115.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #4E7AEC

    #4E7AEC

    oklch(60.7% 0.179 265.5)

  • #D94B47

    #D94B47

    oklch(60.8% 0.179 25.6)

  • #1B9D35

    #1B9D35

    oklch(60.9% 0.179 145.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #4E7AEC

    #4E7AEC

    oklch(60.7% 0.179 265.5)

  • #D04987

    #D04987

    oklch(60.8% 0.18 355.4)

  • #A47B00

    #A47B00

    oklch(60.7% 0.124 85.1)

  • #00987F

    #00987F

    oklch(60.7% 0.114 175.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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