#5E78F5

Closest named color: Cornflower (#6A79F7). oklch(61.8% 0.188 271.1), rgb(94, 120, 245).

Aa

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

About this color

#5E78F5 is a medium-dark, vivid blue. In OKLCH its lightness is 62%, its chroma 0.188 and its hue 271°. Its hue sits on the cool side of the wheel. The nearest named color is Cornflower (#6A79F7), ΔE 0.016 away. Black text reads best on it, at 5.48:1.

Hue familyBlues
Lightnessmedium-dark (62%)
Chromavivid (0.188)
Temperaturecool
Nearest nameCornflower (#6A79F7)
Black text5.48:1
White text3.83:1

Values

HEX#5E78F5
RGBrgb(94, 120, 245)
HSLhsl(230, 88%, 66%)
OKLCHoklch(61.8% 0.188 271.1)

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 #5E78F5 3.83:1 AA large text Lc -71.0 Content text, not long reading
Black text on #5E78F5 5.48:1 AA Lc 38.6 Non-text elements, placeholder text
#5E78F5 text on white 3.83:1 AA large text Lc 65.5 Content text, not long reading
#5E78F5 text on black 5.48:1 AA Lc -36.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

    #E3E9FC

    oklch(93.5% 0.027 271.9)

  3. Step 200

    200

    #CCD8FC

    oklch(88.5% 0.051 270.8)

  4. Step 300

    300

    #AABEFD

    oklch(80.9% 0.092 270.6)

  5. Step 400

    400

    #7F99FC

    oklch(70.6% 0.148 271.1)

  6. Step 500

    500 (this color)

    #5E78F5

    oklch(61.8% 0.188 271.1)

  7. Step 600

    600

    #4B61E9

    oklch(55.6% 0.206 271.1)

  8. Step 700

    700

    #3D4FCA

    oklch(49% 0.19 271.1)

  9. Step 800

    800

    #3242A3

    oklch(42.7% 0.157 271)

  10. Step 900

    900

    #2B3982

    oklch(37.7% 0.123 271.1)

  11. Step 950

    950

    #19224C

    oklch(27% 0.078 271.2)

Export this scale for Tailwind in the Tailwind colors tool

#5E78F5 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)#2E89F90.052
Deuteranopia (no green cones)#007CF20.058
Tritanopia (no blue cones)#0095AB0.160
Achromatopsia (no color)#8282820.189

Harmonies

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

Complementary

The opposite hue (180°).

  • #5E78F5

    #5E78F5

    oklch(61.8% 0.188 271.1)

  • #A28200

    #A28200

    oklch(61.9% 0.127 91.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5E78F5

    #5E78F5

    oklch(61.8% 0.188 271.1)

  • #008ED3

    #008ED3

    oklch(61.8% 0.144 240.9)

  • #9A63E3

    #9A63E3

    oklch(61.8% 0.189 300.8)

Open the analogous palette in the generator

Split complementary

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

  • #5E78F5

    #5E78F5

    oklch(61.8% 0.188 271.1)

  • #C26D00

    #C26D00

    oklch(61.8% 0.144 60.7)

  • #799200

    #799200

    oklch(61.8% 0.148 121)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5E78F5

    #5E78F5

    oklch(61.8% 0.188 271.1)

  • #E04B36

    #E04B36

    oklch(61.8% 0.189 31)

  • #00A04D

    #00A04D

    oklch(61.7% 0.166 151)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5E78F5

    #5E78F5

    oklch(61.8% 0.188 271.1)

  • #DA477F

    #DA477F

    oklch(61.8% 0.188 1)

  • #A28200

    #A28200

    oklch(61.9% 0.127 91.4)

  • #009B89

    #009B89

    oklch(61.8% 0.112 180.7)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #5E78F5.

Similar named colors

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

Use #5E78F5 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.