#5189F2

Closest named color: Soft Blue (#6488EA). oklch(64.3% 0.168 261.7), rgb(81, 137, 242).

Aa

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

About this color

#5189F2 is a medium-light, vivid blue. In OKLCH its lightness is 64%, its chroma 0.168 and its hue 262°. Its hue sits on the cool side of the wheel. The nearest named color is Soft Blue (#6488EA), ΔE 0.022 away. Black text reads best on it, at 6.21:1.

Hue familyBlues
Lightnessmedium-light (64%)
Chromavivid (0.168)
Temperaturecool
Nearest nameSoft Blue (#6488EA)
Black text6.21:1
White text3.38:1

Values

HEX#5189F2
RGBrgb(81, 137, 242)
HSLhsl(219, 86%, 63%)
OKLCHoklch(64.3% 0.168 261.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 #5189F2 3.38:1 AA large text Lc -66.4 Content text, not long reading
Black text on #5189F2 6.21:1 AA Lc 43.1 Non-text elements, placeholder text
#5189F2 text on white 3.38:1 AA large text Lc 61.0 Content text, not long reading
#5189F2 text on black 6.21:1 AA Lc -40.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 500.

  1. Step 50

    50

    #F1F6FD

    oklch(97.1% 0.011 256.7)

  2. Step 100

    100

    #E1EAFA

    oklch(93.5% 0.024 262.1)

  3. Step 200

    200

    #C9DAF8

    oklch(88.5% 0.045 261.9)

  4. Step 300

    300

    #A3C1F6

    oklch(80.8% 0.082 261.6)

  5. Step 400

    400

    #72A0F2

    oklch(70.8% 0.131 261.3)

  6. Step 500

    500 (this color)

    #5189F2

    oklch(64.3% 0.168 261.7)

  7. Step 600

    600

    #316CDC

    oklch(55.6% 0.182 261.6)

  8. Step 700

    700

    #2459BF

    oklch(49% 0.17 261.8)

  9. Step 800

    800

    #1F4A9B

    oklch(42.8% 0.141 261.6)

  10. Step 900

    900

    #1F3E7B

    oklch(37.6% 0.11 262.2)

  11. Step 950

    950

    #122548

    oklch(27% 0.07 261.5)

Export this scale for Tailwind in the Tailwind colors tool

#5189F2 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)#5694F60.030
Deuteranopia (no green cones)#3B85F00.023
Tritanopia (no blue cones)#00A1B20.136
Achromatopsia (no color)#8C8C8C0.168

Harmonies

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

Complementary

The opposite hue (180°).

  • #5189F2

    #5189F2

    oklch(64.3% 0.168 261.7)

  • #B58300

    #B58300

    oklch(64.2% 0.133 81.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5189F2

    #5189F2

    oklch(64.3% 0.168 261.7)

  • #009ACE

    #009ACE

    oklch(64.4% 0.13 231.4)

  • #9176EA

    #9176EA

    oklch(64.4% 0.168 291.7)

Open the analogous palette in the generator

Split complementary

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

  • #5189F2

    #5189F2

    oklch(64.3% 0.168 261.7)

  • #D96900

    #D96900

    oklch(64.3% 0.166 51.6)

  • #909500

    #909500

    oklch(64.4% 0.143 112.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5189F2

    #5189F2

    oklch(64.3% 0.168 261.7)

  • #E15B5E

    #E15B5E

    oklch(64.4% 0.168 21.7)

  • #47A53D

    #47A53D

    oklch(64.3% 0.168 141.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5189F2

    #5189F2

    oklch(64.3% 0.168 261.7)

  • #D65B98

    #D65B98

    oklch(64.4% 0.167 351.9)

  • #B58300

    #B58300

    oklch(64.2% 0.133 81.6)

  • #00A584

    #00A584

    oklch(64.3% 0.125 171.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #5189F2 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.