#5164F6

Closest named color: Neon Blue (#4361EE). oklch(57.5% 0.217 272), rgb(81, 100, 246).

Aa

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

About this color

#5164F6 is a medium-dark, vivid blue. In OKLCH its lightness is 57%, its chroma 0.217 and its hue 272°. Its hue sits on the cool side of the wheel. The nearest named color is Neon Blue (#4361EE), ΔE 0.022 away. White text reads best on it, at 4.66:1.

Hue familyBlues
Lightnessmedium-dark (57%)
Chromavivid (0.217)
Temperaturecool
Nearest nameNeon Blue (#4361EE)
Black text4.50:1
White text4.66:1

Values

HEX#5164F6
RGBrgb(81, 100, 246)
HSLhsl(233, 90%, 64%)
OKLCHoklch(57.5% 0.217 272)

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 #5164F6 4.66:1 AA Lc -77.3 Fine for body text
Black text on #5164F6 4.50:1 AA Lc 32.2 Non-text elements, placeholder text
#5164F6 text on white 4.66:1 AA Lc 71.9 Content text, not long reading
#5164F6 text on black 4.50:1 AA Lc -29.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 600.

  1. Step 50

    50

    #F2F5FF

    oklch(97.1% 0.014 272.7)

  2. Step 100

    100

    #E3E9FD

    oklch(93.5% 0.028 272.5)

  3. Step 200

    200

    #CCD8FE

    oklch(88.5% 0.054 271.5)

  4. Step 300

    300

    #ABBDFF

    oklch(80.9% 0.096 272.3)

  5. Step 400

    400

    #8098FF

    oklch(70.7% 0.153 272.1)

  6. Step 500

    500

    #627AFF

    oklch(63.1% 0.198 271.8)

  7. Step 600

    600 (this color)

    #5164F6

    oklch(57.5% 0.217 272)

  8. Step 700

    700

    #3E4CD0

    oklch(49.1% 0.201 271.9)

  9. Step 800

    800

    #333FA8

    oklch(42.6% 0.167 272.1)

  10. Step 900

    900

    #2B3785

    oklch(37.5% 0.131 271.9)

  11. Step 950

    950

    #19214E

    oklch(26.9% 0.083 272.1)

Export this scale for Tailwind in the Tailwind colors tool

#5164F6 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)#007CFB0.065
Deuteranopia (no green cones)#006DF30.050
Tritanopia (no blue cones)#0089A30.178
Achromatopsia (no color)#7474740.218

Harmonies

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

Complementary

The opposite hue (180°).

  • #5164F6

    #5164F6

    oklch(57.5% 0.217 272)

  • #927600

    #927600

    oklch(57.6% 0.118 92.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5164F6

    #5164F6

    oklch(57.5% 0.217 272)

  • #0080C1

    #0080C1

    oklch(57.4% 0.136 241.8)

  • #934BE0

    #934BE0

    oklch(57.5% 0.217 302.2)

Open the analogous palette in the generator

Split complementary

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

  • #5164F6

    #5164F6

    oklch(57.5% 0.217 272)

  • #AF6400

    #AF6400

    oklch(57.6% 0.132 62.2)

  • #6B8500

    #6B8500

    oklch(57.5% 0.14 122.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5164F6

    #5164F6

    oklch(57.5% 0.217 272)

  • #DC2701

    #DC2701

    oklch(57.6% 0.217 32)

  • #009149

    #009149

    oklch(57.5% 0.151 152.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5164F6

    #5164F6

    oklch(57.5% 0.217 272)

  • #D51F6F

    #D51F6F

    oklch(57.4% 0.217 1.9)

  • #927600

    #927600

    oklch(57.6% 0.118 92.2)

  • #008C7D

    #008C7D

    oklch(57.4% 0.103 181.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #5164F6 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.