#516EF2

Closest named color: Royal Blue (#4169E1). oklch(59% 0.2 269.9), rgb(81, 110, 242).

Aa

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

About this color

#516EF2 is a medium-dark, vivid blue. In OKLCH its lightness is 59%, its chroma 0.200 and its hue 270°. Its hue sits on the cool side of the wheel. The nearest named color is Royal Blue (#4169E1), ΔE 0.034 away. Black text reads best on it, at 4.86:1.

Hue familyBlues
Lightnessmedium-dark (59%)
Chromavivid (0.200)
Temperaturecool
Nearest nameRoyal Blue (#4169E1)
Black text4.86:1
White text4.31:1

Values

HEX#516EF2
RGBrgb(81, 110, 242)
HSLhsl(229, 86%, 63%)
OKLCHoklch(59% 0.2 269.9)

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 #516EF2 4.31:1 AA large text Lc -75.0 Content text, not long reading
Black text on #516EF2 4.86:1 AA Lc 34.6 Non-text elements, placeholder text
#516EF2 text on white 4.31:1 AA large text Lc 69.5 Content text, not long reading
#516EF2 text on black 4.86:1 AA Lc -32.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 600.

  1. Step 50

    50

    #F2F5FE

    oklch(97% 0.012 271.3)

  2. Step 100

    100

    #E3EAFC

    oklch(93.7% 0.025 268.8)

  3. Step 200

    200

    #CCD8FB

    oklch(88.4% 0.05 270.4)

  4. Step 300

    300

    #AABEFC

    oklch(80.9% 0.091 270.5)

  5. Step 400

    400

    #7E9AFA

    oklch(70.7% 0.144 270.1)

  6. Step 500

    500

    #5F7EF7

    oklch(63.1% 0.183 269.7)

  7. Step 600

    600 (this color)

    #516EF2

    oklch(59% 0.2 269.9)

  8. Step 700

    700

    #3A51C8

    oklch(49.1% 0.186 269.8)

  9. Step 800

    800

    #3043A2

    oklch(42.7% 0.155 270)

  10. Step 900

    900

    #2A3A80

    oklch(37.7% 0.119 270.1)

  11. Step 950

    950

    #18234B

    oklch(27.1% 0.075 269.3)

Export this scale for Tailwind in the Tailwind colors tool

#516EF2 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)#0081F70.057
Deuteranopia (no green cones)#0073EF0.047
Tritanopia (no blue cones)#008EA50.165
Achromatopsia (no color)#7A7A7A0.200

Harmonies

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

Complementary

The opposite hue (180°).

  • #516EF2

    #516EF2

    oklch(59% 0.2 269.9)

  • #997900

    #997900

    oklch(59% 0.121 90.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #516EF2

    #516EF2

    oklch(59% 0.2 269.9)

  • #0086C4

    #0086C4

    oklch(59.1% 0.134 239.5)

  • #9157E0

    #9157E0

    oklch(58.9% 0.2 299.7)

Open the analogous palette in the generator

Split complementary

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

  • #516EF2

    #516EF2

    oklch(59% 0.2 269.9)

  • #B76500

    #B76500

    oklch(58.9% 0.138 59.7)

  • #738800

    #738800

    oklch(58.9% 0.14 120)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #516EF2

    #516EF2

    oklch(59% 0.2 269.9)

  • #DB3A2A

    #DB3A2A

    oklch(59.1% 0.2 29.9)

  • #009744

    #009744

    oklch(59.1% 0.163 149.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #516EF2

    #516EF2

    oklch(59% 0.2 269.9)

  • #D43579

    #D43579

    oklch(59% 0.201 359.7)

  • #997900

    #997900

    oklch(59% 0.121 90.1)

  • #00927F

    #00927F

    oklch(59.1% 0.108 179.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #516EF2 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.