#5169E3

Closest named color: Royal Blue (#4169E1). oklch(56.9% 0.186 270.9), rgb(81, 105, 227).

Aa

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

About this color

#5169E3 is a medium-dark, vivid blue. In OKLCH its lightness is 57%, its chroma 0.186 and its hue 271°. Its hue sits on the cool side of the wheel. The nearest named color is Royal Blue (#4169E1), ΔE 0.018 away. White text reads best on it, at 4.68:1.

Hue familyBlues
Lightnessmedium-dark (57%)
Chromavivid (0.186)
Temperaturecool
Nearest nameRoyal Blue (#4169E1)
Black text4.47:1
White text4.68:1

Values

HEX#5169E3
RGBrgb(81, 105, 227)
HSLhsl(230, 72%, 60%)
OKLCHoklch(56.9% 0.186 270.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 #5169E3 4.68:1 AA Lc -77.6 Fine for body text
Black text on #5169E3 4.47:1 AA large text Lc 31.9 Non-text elements, placeholder text
#5169E3 text on white 4.68:1 AA Lc 72.2 Content text, not long reading
#5169E3 text on black 4.47:1 AA large text Lc -29.5 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

    #F2F5FD

    oklch(97% 0.011 269.6)

  2. Step 100

    100

    #E4E9FB

    oklch(93.6% 0.025 273.5)

  3. Step 200

    200

    #CDD8F9

    oklch(88.4% 0.047 270.8)

  4. Step 300

    300

    #ACBEF8

    oklch(80.8% 0.085 271.1)

  5. Step 400

    400

    #829BF4

    oklch(70.8% 0.133 270.8)

  6. Step 500

    500

    #647FF0

    oklch(63.2% 0.171 270.7)

  7. Step 600

    600 (this color)

    #5169E3

    oklch(56.9% 0.186 270.9)

  8. Step 700

    700

    #3F53C1

    oklch(49.1% 0.173 270.9)

  9. Step 800

    800

    #34449C

    oklch(42.6% 0.144 271.2)

  10. Step 900

    900

    #2D3B7C

    oklch(37.8% 0.111 271)

  11. Step 950

    950

    #1A2349

    oklch(27.1% 0.071 270.9)

Export this scale for Tailwind in the Tailwind colors tool

#5169E3 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)#0D7BE70.056
Deuteranopia (no green cones)#006EE10.050
Tritanopia (no blue cones)#00869C0.155
Achromatopsia (no color)#7474740.187

Harmonies

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

Complementary

The opposite hue (180°).

  • #5169E3

    #5169E3

    oklch(56.9% 0.186 270.9)

  • #917300

    #917300

    oklch(56.8% 0.116 90.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5169E3

    #5169E3

    oklch(56.9% 0.186 270.9)

  • #007FBD

    #007FBD

    oklch(57% 0.132 240.8)

  • #8B54D1

    #8B54D1

    oklch(56.8% 0.186 300.9)

Open the analogous palette in the generator

Split complementary

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

  • #5169E3

    #5169E3

    oklch(56.9% 0.186 270.9)

  • #AE6100

    #AE6100

    oklch(56.9% 0.133 60.6)

  • #6C8200

    #6C8200

    oklch(56.9% 0.136 120.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5169E3

    #5169E3

    oklch(56.9% 0.186 270.9)

  • #CE3C28

    #CE3C28

    oklch(57% 0.186 31)

  • #008F44

    #008F44

    oklch(56.9% 0.153 150.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5169E3

    #5169E3

    oklch(56.9% 0.186 270.9)

  • #C83771

    #C83771

    oklch(57% 0.186 0.8)

  • #917300

    #917300

    oklch(56.8% 0.116 90.5)

  • #008A7B

    #008A7B

    oklch(56.8% 0.102 181.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #5169E3 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.