#5168F6

Closest named color: Neon Blue (#4361EE). oklch(58.2% 0.212 271.2), rgb(81, 104, 246).

Aa

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

About this color

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

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

Values

HEX#5168F6
RGBrgb(81, 104, 246)
HSLhsl(232, 90%, 64%)
OKLCHoklch(58.2% 0.212 271.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 #5168F6 4.50:1 AA Lc -76.3 Fine for body text
Black text on #5168F6 4.66:1 AA Lc 33.3 Non-text elements, placeholder text
#5168F6 text on white 4.50:1 AA Lc 70.8 Content text, not long reading
#5168F6 text on black 4.66:1 AA Lc -30.9 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 600.

  1. Step 50

    50

    #F2F5FE

    oklch(97% 0.012 271.3)

  2. Step 100

    100

    #E3E9FD

    oklch(93.5% 0.028 272.5)

  3. Step 200

    200

    #CCD8FD

    oklch(88.5% 0.053 271.1)

  4. Step 300

    300

    #AABEFF

    oklch(81% 0.095 271)

  5. Step 400

    400

    #7E99FF

    oklch(70.7% 0.152 270.9)

  6. Step 500

    500

    #617BFE

    oklch(63.2% 0.196 271.3)

  7. Step 600

    600 (this color)

    #5168F6

    oklch(58.2% 0.212 271.2)

  8. Step 700

    700

    #3D4ECE

    oklch(49.2% 0.197 271.3)

  9. Step 800

    800

    #3241A7

    oklch(42.8% 0.164 271.3)

  10. Step 900

    900

    #2B3884

    oklch(37.7% 0.128 271.5)

  11. Step 950

    950

    #19224D

    oklch(27.1% 0.08 271.2)

Export this scale for Tailwind in the Tailwind colors tool

#5168F6 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)#007EFB0.061
Deuteranopia (no green cones)#006FF30.049
Tritanopia (no blue cones)#008BA50.173
Achromatopsia (no color)#7777770.213

Harmonies

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

Complementary

The opposite hue (180°).

  • #5168F6

    #5168F6

    oklch(58.2% 0.212 271.2)

  • #957700

    #957700

    oklch(58.1% 0.119 91.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5168F6

    #5168F6

    oklch(58.2% 0.212 271.2)

  • #0083C3

    #0083C3

    oklch(58.3% 0.135 240.9)

  • #9350E2

    #9350E2

    oklch(58.3% 0.212 301.1)

Open the analogous palette in the generator

Split complementary

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

  • #5168F6

    #5168F6

    oklch(58.2% 0.212 271.2)

  • #B26500

    #B26500

    oklch(58.2% 0.134 61.7)

  • #6F8600

    #6F8600

    oklch(58.1% 0.139 121)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5168F6

    #5168F6

    oklch(58.2% 0.212 271.2)

  • #DC2E15

    #DC2E15

    oklch(58.1% 0.212 31.3)

  • #009447

    #009447

    oklch(58.3% 0.157 151)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5168F6

    #5168F6

    oklch(58.2% 0.212 271.2)

  • #D62873

    #D62873

    oklch(58.2% 0.212 1.2)

  • #957700

    #957700

    oklch(58.1% 0.119 91.1)

  • #008F7F

    #008F7F

    oklch(58.3% 0.105 181.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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