#5164F3

Closest named color: Neon Blue (#4361EE). oklch(57.2% 0.213 272), rgb(81, 100, 243).

Aa

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

About this color

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

Hue familyBlues
Lightnessmedium-dark (57%)
Chromavivid (0.213)
Temperaturecool
Nearest nameNeon Blue (#4361EE)
Black text4.46:1
White text4.70:1

Values

HEX#5164F3
RGBrgb(81, 100, 243)
HSLhsl(233, 87%, 64%)
OKLCHoklch(57.2% 0.213 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 #5164F3 4.70:1 AA Lc -77.6 Fine for body text
Black text on #5164F3 4.46:1 AA large text Lc 32.0 Non-text elements, placeholder text
#5164F3 text on white 4.70:1 AA Lc 72.1 Content text, not long reading
#5164F3 text on black 4.46:1 AA large text Lc -29.6 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

    #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

    #ABBDFF

    oklch(80.9% 0.096 272.3)

  5. Step 400

    400

    #8098FF

    oklch(70.7% 0.153 272.1)

  6. Step 500

    500

    #637AFE

    oklch(63.1% 0.196 272.1)

  7. Step 600

    600 (this color)

    #5164F3

    oklch(57.2% 0.213 272)

  8. Step 700

    700

    #3F4DCE

    oklch(49.1% 0.197 272.1)

  9. Step 800

    800

    #3340A7

    oklch(42.7% 0.165 271.9)

  10. Step 900

    900

    #2C3884

    oklch(37.7% 0.128 272.1)

  11. Step 950

    950

    #19214D

    oklch(26.8% 0.081 272.1)

Export this scale for Tailwind in the Tailwind colors tool

#5164F3 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)#007BF80.064
Deuteranopia (no green cones)#006CF00.051
Tritanopia (no blue cones)#0088A20.175
Achromatopsia (no color)#7474740.214

Harmonies

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

Complementary

The opposite hue (180°).

  • #5164F3

    #5164F3

    oklch(57.2% 0.213 272)

  • #917500

    #917500

    oklch(57.3% 0.117 92.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5164F3

    #5164F3

    oklch(57.2% 0.213 272)

  • #007FC1

    #007FC1

    oklch(57.2% 0.137 242.4)

  • #924BDE

    #924BDE

    oklch(57.3% 0.214 302.2)

Open the analogous palette in the generator

Split complementary

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

  • #5164F3

    #5164F3

    oklch(57.2% 0.213 272)

  • #AE6300

    #AE6300

    oklch(57.3% 0.132 61.9)

  • #6B8400

    #6B8400

    oklch(57.3% 0.139 122)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5164F3

    #5164F3

    oklch(57.2% 0.213 272)

  • #D92906

    #D92906

    oklch(57.2% 0.213 32)

  • #009048

    #009048

    oklch(57.2% 0.151 151.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5164F3

    #5164F3

    oklch(57.2% 0.213 272)

  • #D3226E

    #D3226E

    oklch(57.2% 0.213 2.1)

  • #917500

    #917500

    oklch(57.3% 0.117 92.1)

  • #008B7D

    #008B7D

    oklch(57.2% 0.102 182.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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