#516CE8

Closest named color: Royal Blue (#4169E1). oklch(57.9% 0.189 270.2), rgb(81, 108, 232).

Aa

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

About this color

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

Hue familyBlues
Lightnessmedium-dark (58%)
Chromavivid (0.189)
Temperaturecool
Nearest nameRoyal Blue (#4169E1)
Black text4.66:1
White text4.50:1

Values

HEX#516CE8
RGBrgb(81, 108, 232)
HSLhsl(229, 77%, 61%)
OKLCHoklch(57.9% 0.189 270.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 #516CE8 4.50:1 AA Lc -76.4 Fine for body text
Black text on #516CE8 4.66:1 AA Lc 33.2 Non-text elements, placeholder text
#516CE8 text on white 4.50:1 AA Lc 70.9 Content text, not long reading
#516CE8 text on black 4.66:1 AA Lc -30.8 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

    #F2F5FD

    oklch(97% 0.011 269.6)

  2. Step 100

    100

    #E3E9FB

    oklch(93.5% 0.025 271.1)

  3. Step 200

    200

    #CDD8F9

    oklch(88.4% 0.047 270.8)

  4. Step 300

    300

    #ABBEF9

    oklch(80.8% 0.086 270.6)

  5. Step 400

    400

    #809BF5

    oklch(70.7% 0.135 270)

  6. Step 500

    500

    #627FF1

    oklch(63.1% 0.173 270.1)

  7. Step 600

    600 (this color)

    #516CE8

    oklch(57.9% 0.189 270.2)

  8. Step 700

    700

    #3D53C3

    oklch(49.2% 0.176 270.2)

  9. Step 800

    800

    #32449D

    oklch(42.6% 0.146 270.4)

  10. Step 900

    900

    #2B3B7D

    oklch(37.7% 0.113 270)

  11. Step 950

    950

    #192349

    oklch(27% 0.072 270)

Export this scale for Tailwind in the Tailwind colors tool

#516CE8 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)#107EEC0.055
Deuteranopia (no green cones)#0070E50.049
Tritanopia (no blue cones)#008AA00.157
Achromatopsia (no color)#7777770.190

Harmonies

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

Complementary

The opposite hue (180°).

  • #516CE8

    #516CE8

    oklch(57.9% 0.189 270.2)

  • #957600

    #957600

    oklch(57.9% 0.118 90.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #516CE8

    #516CE8

    oklch(57.9% 0.189 270.2)

  • #0082C0

    #0082C0

    oklch(57.9% 0.133 240.2)

  • #8D57D7

    #8D57D7

    oklch(57.9% 0.189 299.9)

Open the analogous palette in the generator

Split complementary

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

  • #516CE8

    #516CE8

    oklch(57.9% 0.189 270.2)

  • #B26300

    #B26300

    oklch(57.8% 0.135 60.3)

  • #708500

    #708500

    oklch(57.9% 0.138 120.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #516CE8

    #516CE8

    oklch(57.9% 0.189 270.2)

  • #D23D2C

    #D23D2C

    oklch(57.8% 0.189 30.2)

  • #009343

    #009343

    oklch(58% 0.159 150.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #516CE8

    #516CE8

    oklch(57.9% 0.189 270.2)

  • #CC3875

    #CC3875

    oklch(57.8% 0.19 0.1)

  • #957600

    #957600

    oklch(57.9% 0.118 90.3)

  • #008E7C

    #008E7C

    oklch(57.9% 0.105 179.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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