#516BCB

Closest named color: Royal Blue (#4169E1). oklch(55.7% 0.151 269.6), rgb(81, 107, 203).

Aa

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

About this color

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

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

Values

HEX#516BCB
RGBrgb(81, 107, 203)
HSLhsl(227, 54%, 56%)
OKLCHoklch(55.7% 0.151 269.6)

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 #516BCB 4.86:1 AA Lc -78.9 Fine for body text
Black text on #516BCB 4.31:1 AA large text Lc 30.6 Non-text elements, placeholder text
#516BCB text on white 4.86:1 AA Lc 73.5 Content text, not long reading
#516BCB text on black 4.31:1 AA large text Lc -28.2 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

    #F3F5FC

    oklch(97.1% 0.01 273.4)

  2. Step 100

    100

    #E4EAF8

    oklch(93.7% 0.02 267.3)

  3. Step 200

    200

    #CFD9F3

    oklch(88.6% 0.037 268.9)

  4. Step 300

    300

    #AFBFEE

    oklch(80.9% 0.069 270.1)

  5. Step 400

    400

    #869DE5

    oklch(70.7% 0.109 269.9)

  6. Step 500

    500

    #6883DD

    oklch(63% 0.139 269.5)

  7. Step 600

    600 (this color)

    #516BCB

    oklch(55.7% 0.151 269.6)

  8. Step 700

    700

    #4259AF

    oklch(49.2% 0.139 269.5)

  9. Step 800

    800

    #36498E

    oklch(42.7% 0.116 269.4)

  10. Step 900

    900

    #2F3E71

    oklch(37.8% 0.089 269.4)

  11. Step 950

    950

    #1B2442

    oklch(26.9% 0.057 269.6)

Export this scale for Tailwind in the Tailwind colors tool

#516BCB 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)#3C77CF0.034
Deuteranopia (no green cones)#276CC90.039
Tritanopia (no blue cones)#0081910.132
Achromatopsia (no color)#7171710.151

Harmonies

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

Complementary

The opposite hue (180°).

  • #516BCB

    #516BCB

    oklch(55.7% 0.151 269.6)

  • #8E6F00

    #8E6F00

    oklch(55.6% 0.114 89.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #516BCB

    #516BCB

    oklch(55.7% 0.151 269.6)

  • #007BB5

    #007BB5

    oklch(55.6% 0.127 239.8)

  • #825BBE

    #825BBE

    oklch(55.8% 0.151 299.7)

Open the analogous palette in the generator

Split complementary

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

  • #516BCB

    #516BCB

    oklch(55.7% 0.151 269.6)

  • #AA5D00

    #AA5D00

    oklch(55.7% 0.131 59.4)

  • #6B7E00

    #6B7E00

    oklch(55.8% 0.132 119.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #516BCB

    #516BCB

    oklch(55.7% 0.151 269.6)

  • #BC493B

    #BC493B

    oklch(55.8% 0.151 29.6)

  • #0D8B3E

    #0D8B3E

    oklch(55.8% 0.152 149.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #516BCB

    #516BCB

    oklch(55.7% 0.151 269.6)

  • #B64670

    #B64670

    oklch(55.7% 0.15 359.9)

  • #8E6F00

    #8E6F00

    oklch(55.6% 0.114 89.2)

  • #008675

    #008675

    oklch(55.5% 0.101 179.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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