#516DCA

Closest named color: Royal Blue (#4169E1). oklch(56% 0.147 268.7), rgb(81, 109, 202).

Aa

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

About this color

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

Hue familyBlues
Lightnessmedium-dark (56%)
Chromavivid (0.147)
Temperaturecool
Nearest nameRoyal Blue (#4169E1)
Black text4.39:1
White text4.78:1

Values

HEX#516DCA
RGBrgb(81, 109, 202)
HSLhsl(226, 53%, 55%)
OKLCHoklch(56% 0.147 268.7)

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 #516DCA 4.78:1 AA Lc -78.4 Fine for body text
Black text on #516DCA 4.39:1 AA large text Lc 31.1 Non-text elements, placeholder text
#516DCA text on white 4.78:1 AA Lc 73.0 Content text, not long reading
#516DCA text on black 4.39:1 AA large text Lc -28.7 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

    #E4EAF7

    oklch(93.6% 0.019 266)

  3. Step 200

    200

    #CFD9F2

    oklch(88.5% 0.036 268.3)

  4. Step 300

    300

    #AFC0EC

    oklch(81% 0.065 268.4)

  5. Step 400

    400

    #859EE3

    oklch(70.8% 0.105 268.4)

  6. Step 500

    500

    #6884DB

    oklch(63.1% 0.135 268.9)

  7. Step 600

    600 (this color)

    #516DCA

    oklch(56% 0.147 268.7)

  8. Step 700

    700

    #4159AE

    oklch(49% 0.138 269)

  9. Step 800

    800

    #354A8C

    oklch(42.7% 0.112 268.1)

  10. Step 900

    900

    #2E3E70

    oklch(37.7% 0.088 268.6)

  11. Step 950

    950

    #1B2542

    oklch(27.1% 0.056 268.2)

Export this scale for Tailwind in the Tailwind colors tool

#516DCA 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)#4178CD0.031
Deuteranopia (no green cones)#2E6DC80.034
Tritanopia (no blue cones)#0082920.128
Achromatopsia (no color)#7272720.147

Harmonies

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

Complementary

The opposite hue (180°).

  • #516DCA

    #516DCA

    oklch(56% 0.147 268.7)

  • #907000

    #907000

    oklch(56.1% 0.115 88.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #516DCA

    #516DCA

    oklch(56% 0.147 268.7)

  • #007DB5

    #007DB5

    oklch(56% 0.125 238.5)

  • #815DBE

    #815DBE

    oklch(56% 0.148 298.7)

Open the analogous palette in the generator

Split complementary

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

  • #516DCA

    #516DCA

    oklch(56% 0.147 268.7)

  • #AC5D00

    #AC5D00

    oklch(56% 0.133 58.6)

  • #6D7E00

    #6D7E00

    oklch(55.9% 0.131 118.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #516DCA

    #516DCA

    oklch(56% 0.147 268.7)

  • #BB4B3F

    #BB4B3F

    oklch(55.9% 0.147 28.8)

  • #1D8B3F

    #1D8B3F

    oklch(56% 0.148 148.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #516DCA

    #516DCA

    oklch(56% 0.147 268.7)

  • #B54973

    #B54973

    oklch(56% 0.146 358.7)

  • #907000

    #907000

    oklch(56.1% 0.115 88.7)

  • #008875

    #008875

    oklch(56.1% 0.103 178.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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