#5169E1

Closest named color: Royal Blue (#4169E1). oklch(56.8% 0.184 270.9), rgb(81, 105, 225).

Aa

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

About this color

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

Hue familyBlues
Lightnessmedium-dark (57%)
Chromavivid (0.184)
Temperaturecool
Nearest nameRoyal Blue (#4169E1)
Black text4.45:1
White text4.71:1

Values

HEX#5169E1
RGBrgb(81, 105, 225)
HSLhsl(230, 71%, 60%)
OKLCHoklch(56.8% 0.184 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 #5169E1 4.71:1 AA Lc -77.8 Fine for body text
Black text on #5169E1 4.45:1 AA large text Lc 31.7 Non-text elements, placeholder text
#5169E1 text on white 4.71:1 AA Lc 72.3 Content text, not long reading
#5169E1 text on black 4.45:1 AA large text Lc -29.3 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

    #E4E9FA

    oklch(93.5% 0.024 272.8)

  3. Step 200

    200

    #CED8F8

    oklch(88.5% 0.045 271.7)

  4. Step 300

    300

    #ADBEF7

    oklch(80.9% 0.083 271.6)

  5. Step 400

    400

    #829BF3

    oklch(70.7% 0.132 270.7)

  6. Step 500

    500

    #657FEE

    oklch(63.1% 0.168 271)

  7. Step 600

    600 (this color)

    #5169E1

    oklch(56.8% 0.184 270.9)

  8. Step 700

    700

    #3F53C0

    oklch(49.1% 0.172 270.9)

  9. Step 800

    800

    #34459B

    oklch(42.7% 0.141 270.8)

  10. Step 900

    900

    #2D3B7B

    oklch(37.7% 0.11 271)

  11. Step 950

    950

    #1A2348

    oklch(27% 0.07 270.8)

Export this scale for Tailwind in the Tailwind colors tool

#5169E1 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)#147AE50.054
Deuteranopia (no green cones)#006DDF0.050
Tritanopia (no blue cones)#00859B0.153
Achromatopsia (no color)#7373730.184

Harmonies

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

Complementary

The opposite hue (180°).

  • #5169E1

    #5169E1

    oklch(56.8% 0.184 270.9)

  • #907300

    #907300

    oklch(56.7% 0.116 91.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5169E1

    #5169E1

    oklch(56.8% 0.184 270.9)

  • #007EBC

    #007EBC

    oklch(56.7% 0.132 240.9)

  • #8B55D0

    #8B55D0

    oklch(56.9% 0.184 301)

Open the analogous palette in the generator

Split complementary

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

  • #5169E1

    #5169E1

    oklch(56.8% 0.184 270.9)

  • #AD6100

    #AD6100

    oklch(56.8% 0.132 61)

  • #6C8200

    #6C8200

    oklch(56.9% 0.136 120.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5169E1

    #5169E1

    oklch(56.8% 0.184 270.9)

  • #CC3D29

    #CC3D29

    oklch(56.8% 0.183 31.1)

  • #008F44

    #008F44

    oklch(56.9% 0.153 150.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5169E1

    #5169E1

    oklch(56.8% 0.184 270.9)

  • #C73870

    #C73870

    oklch(56.9% 0.184 1.2)

  • #907300

    #907300

    oklch(56.7% 0.116 91.1)

  • #008A7A

    #008A7A

    oklch(56.8% 0.102 180.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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