#5187E4

Closest named color: Dark Sky Blue (#448EE4). oklch(63.1% 0.152 260.6), rgb(81, 135, 228).

Aa

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

About this color

#5187E4 is a medium-light, vivid blue. In OKLCH its lightness is 63%, its chroma 0.152 and its hue 261°. Its hue sits on the cool side of the wheel. The nearest named color is Dark Sky Blue (#448EE4), ΔE 0.020 away. Black text reads best on it, at 5.93:1.

Hue familyBlues
Lightnessmedium-light (63%)
Chromavivid (0.152)
Temperaturecool
Nearest nameDark Sky Blue (#448EE4)
Black text5.93:1
White text3.53:1

Values

HEX#5187E4
RGBrgb(81, 135, 228)
HSLhsl(218, 73%, 61%)
OKLCHoklch(63.1% 0.152 260.6)

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 #5187E4 3.53:1 AA large text Lc -68.2 Content text, not long reading
Black text on #5187E4 5.93:1 AA Lc 41.4 Non-text elements, placeholder text
#5187E4 text on white 3.53:1 AA large text Lc 62.7 Content text, not long reading
#5187E4 text on black 5.93:1 AA Lc -39.0 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

    #F2F6FC

    oklch(97.2% 0.009 258.3)

  2. Step 100

    100

    #E2EAF9

    oklch(93.5% 0.022 263.2)

  3. Step 200

    200

    #CADAF5

    oklch(88.5% 0.041 260.9)

  4. Step 300

    300

    #A5C2F1

    oklch(80.9% 0.074 260)

  5. Step 400

    400

    #75A1EA

    oklch(70.7% 0.118 260.2)

  6. Step 500

    500 (this color)

    #5187E4

    oklch(63.1% 0.152 260.6)

  7. Step 600

    600

    #356FD2

    oklch(55.6% 0.165 260.4)

  8. Step 700

    700

    #285CB6

    oklch(49.1% 0.153 260.6)

  9. Step 800

    800

    #224C93

    oklch(42.8% 0.126 260.2)

  10. Step 900

    900

    #214075

    oklch(37.7% 0.098 260.4)

  11. Step 950

    950

    #142645

    oklch(27.1% 0.063 260.6)

Export this scale for Tailwind in the Tailwind colors tool

#5187E4 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)#5D90E80.029
Deuteranopia (no green cones)#4682E20.018
Tritanopia (no blue cones)#009CAA0.125
Achromatopsia (no color)#8888880.152

Harmonies

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

Complementary

The opposite hue (180°).

  • #5187E4

    #5187E4

    oklch(63.1% 0.152 260.6)

  • #B27F00

    #B27F00

    oklch(63.1% 0.131 80.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5187E4

    #5187E4

    oklch(63.1% 0.152 260.6)

  • #0096C7

    #0096C7

    oklch(63.1% 0.126 230.5)

  • #8A76DD

    #8A76DD

    oklch(63% 0.151 290.3)

Open the analogous palette in the generator

Split complementary

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

  • #5187E4

    #5187E4

    oklch(63.1% 0.152 260.6)

  • #CF6920

    #CF6920

    oklch(63% 0.152 50.7)

  • #8E9000

    #8E9000

    oklch(63.1% 0.138 110.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5187E4

    #5187E4

    oklch(63.1% 0.152 260.6)

  • #D55D61

    #D55D61

    oklch(63% 0.152 20.5)

  • #509F41

    #509F41

    oklch(63.1% 0.152 140.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5187E4

    #5187E4

    oklch(63.1% 0.152 260.6)

  • #CB5E95

    #CB5E95

    oklch(63.1% 0.151 350.8)

  • #B27F00

    #B27F00

    oklch(63.1% 0.131 80.3)

  • #00A17F

    #00A17F

    oklch(63.1% 0.124 170.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #5187E4 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.