#5187FE

Closest named color: Dodger Blue (#1E90FF). oklch(64.7% 0.186 263.7), rgb(81, 135, 254).

Aa

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

About this color

#5187FE is a medium-light, vivid blue. In OKLCH its lightness is 65%, its chroma 0.186 and its hue 264°. Its hue sits on the cool side of the wheel. The nearest named color is Dodger Blue (#1E90FF), ΔE 0.035 away. Black text reads best on it, at 6.24:1.

Hue familyBlues
Lightnessmedium-light (65%)
Chromavivid (0.186)
Temperaturecool
Nearest nameDodger Blue (#1E90FF)
Black text6.24:1
White text3.36:1

Values

HEX#5187FE
RGBrgb(81, 135, 254)
HSLhsl(221, 99%, 66%)
OKLCHoklch(64.7% 0.186 263.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 #5187FE 3.36:1 AA large text Lc -66.2 Content text, not long reading
Black text on #5187FE 6.24:1 AA Lc 43.4 Non-text elements, placeholder text
#5187FE text on white 3.36:1 AA large text Lc 60.7 Content text, not long reading
#5187FE text on black 6.24:1 AA Lc -41.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

    #F1F6FE

    oklch(97.2% 0.012 259.8)

  2. Step 100

    100

    #E1EAFC

    oklch(93.6% 0.026 264.4)

  3. Step 200

    200

    #C8DAFC

    oklch(88.6% 0.051 263.2)

  4. Step 300

    300

    #A2C1FC

    oklch(80.9% 0.091 263)

  5. Step 400

    400

    #719EFB

    oklch(70.8% 0.145 263.6)

  6. Step 500

    500 (this color)

    #5187FE

    oklch(64.7% 0.186 263.7)

  7. Step 600

    600

    #3168E7

    oklch(55.6% 0.202 263.5)

  8. Step 700

    700

    #2555C9

    oklch(49.1% 0.188 263.8)

  9. Step 800

    800

    #1F47A3

    oklch(42.8% 0.156 263.5)

  10. Step 900

    900

    #1E3C81

    oklch(37.6% 0.122 263.8)

  11. Step 950

    950

    #12244C

    oklch(27% 0.078 263.8)

Export this scale for Tailwind in the Tailwind colors tool

#5187FE 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)#4894FF0.033
Deuteranopia (no green cones)#1E85FC0.035
Tritanopia (no blue cones)#00A3B60.152
Achromatopsia (no color)#8C8C8C0.186

Harmonies

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

Complementary

The opposite hue (180°).

  • #5187FE

    #5187FE

    oklch(64.7% 0.186 263.7)

  • #B48600

    #B48600

    oklch(64.7% 0.133 84.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5187FE

    #5187FE

    oklch(64.7% 0.186 263.7)

  • #009AD3

    #009AD3

    oklch(64.6% 0.135 233.9)

  • #9672F3

    #9672F3

    oklch(64.8% 0.186 293.4)

Open the analogous palette in the generator

Split complementary

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

  • #5187FE

    #5187FE

    oklch(64.7% 0.186 263.7)

  • #D86D00

    #D86D00

    oklch(64.8% 0.163 53.8)

  • #8E9700

    #8E9700

    oklch(64.7% 0.145 113.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5187FE

    #5187FE

    oklch(64.7% 0.186 263.7)

  • #EA5354

    #EA5354

    oklch(64.7% 0.187 23.6)

  • #31A937

    #31A937

    oklch(64.6% 0.186 143.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5187FE

    #5187FE

    oklch(64.7% 0.186 263.7)

  • #DF5397

    #DF5397

    oklch(64.7% 0.186 353.5)

  • #B48600

    #B48600

    oklch(64.7% 0.133 84.2)

  • #00A688

    #00A688

    oklch(64.7% 0.123 173.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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