#516DEF

Closest named color: Royal Blue (#4169E1). oklch(58.6% 0.197 270.1), rgb(81, 109, 239).

Aa

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

About this color

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

Hue familyBlues
Lightnessmedium-dark (59%)
Chromavivid (0.197)
Temperaturecool
Nearest nameRoyal Blue (#4169E1)
Black text4.78:1
White text4.38:1

Values

HEX#516DEF
RGBrgb(81, 109, 239)
HSLhsl(229, 83%, 63%)
OKLCHoklch(58.6% 0.197 270.1)

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 #516DEF 4.38:1 AA large text Lc -75.5 Fine for body text
Black text on #516DEF 4.78:1 AA Lc 34.1 Non-text elements, placeholder text
#516DEF text on white 4.38:1 AA large text Lc 70.0 Content text, not long reading
#516DEF text on black 4.78:1 AA Lc -31.7 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

    #E3E9FC

    oklch(93.5% 0.027 271.9)

  3. Step 200

    200

    #CCD8FB

    oklch(88.4% 0.05 270.4)

  4. Step 300

    300

    #AABEFB

    oklch(80.8% 0.089 270.3)

  5. Step 400

    400

    #7E9AF9

    oklch(70.6% 0.143 270)

  6. Step 500

    500

    #607EF6

    oklch(63.1% 0.182 270)

  7. Step 600

    600 (this color)

    #516DEF

    oklch(58.6% 0.197 270.1)

  8. Step 700

    700

    #3B51C7

    oklch(49% 0.184 270.1)

  9. Step 800

    800

    #3143A1

    oklch(42.7% 0.153 270.3)

  10. Step 900

    900

    #2A3A7F

    oklch(37.6% 0.118 270)

  11. Step 950

    950

    #19234B

    oklch(27.1% 0.075 270.2)

Export this scale for Tailwind in the Tailwind colors tool

#516DEF 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)#0080F30.057
Deuteranopia (no green cones)#0072EC0.048
Tritanopia (no blue cones)#008CA30.163
Achromatopsia (no color)#7878780.198

Harmonies

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

Complementary

The opposite hue (180°).

  • #516DEF

    #516DEF

    oklch(58.6% 0.197 270.1)

  • #987800

    #987800

    oklch(58.7% 0.12 90)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #516DEF

    #516DEF

    oklch(58.6% 0.197 270.1)

  • #0084C3

    #0084C3

    oklch(58.5% 0.135 240.3)

  • #9057DD

    #9057DD

    oklch(58.6% 0.197 299.9)

Open the analogous palette in the generator

Split complementary

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

  • #516DEF

    #516DEF

    oklch(58.6% 0.197 270.1)

  • #B56500

    #B56500

    oklch(58.6% 0.137 60.5)

  • #728700

    #728700

    oklch(58.6% 0.139 120)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #516DEF

    #516DEF

    oklch(58.6% 0.197 270.1)

  • #D83A29

    #D83A29

    oklch(58.5% 0.197 30.1)

  • #009544

    #009544

    oklch(58.6% 0.161 150.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #516DEF

    #516DEF

    oklch(58.6% 0.197 270.1)

  • #D13677

    #D13677

    oklch(58.5% 0.197 0)

  • #987800

    #987800

    oklch(58.7% 0.12 90)

  • #00907E

    #00907E

    oklch(58.5% 0.106 179.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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