#5182FF

Closest named color: Cornflower (#6A79F7). oklch(63.8% 0.193 265.2), rgb(81, 130, 255).

Aa

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

About this color

#5182FF is a medium-light, vivid blue. In OKLCH its lightness is 64%, its chroma 0.193 and its hue 265°. Its hue sits on the cool side of the wheel. The nearest named color is Cornflower (#6A79F7), ΔE 0.033 away. Black text reads best on it, at 5.98:1.

Hue familyBlues
Lightnessmedium-light (64%)
Chromavivid (0.193)
Temperaturecool
Nearest nameCornflower (#6A79F7)
Black text5.98:1
White text3.50:1

Values

HEX#5182FF
RGBrgb(81, 130, 255)
HSLhsl(223, 100%, 66%)
OKLCHoklch(63.8% 0.193 265.2)

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 #5182FF 3.50:1 AA large text Lc -67.7 Content text, not long reading
Black text on #5182FF 5.98:1 AA Lc 41.8 Non-text elements, placeholder text
#5182FF text on white 3.50:1 AA large text Lc 62.3 Content text, not long reading
#5182FF text on black 5.98:1 AA Lc -39.4 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

    #E1EAFD

    oklch(93.6% 0.028 265.4)

  3. Step 200

    200

    #C8D9FD

    oklch(88.4% 0.053 265.3)

  4. Step 300

    300

    #A3C0FF

    oklch(80.9% 0.095 265.2)

  5. Step 400

    400

    #729CFE

    oklch(70.6% 0.151 265.2)

  6. Step 500

    500 (this color)

    #5182FF

    oklch(63.8% 0.193 265.2)

  7. Step 600

    600

    #3565EC

    oklch(55.6% 0.211 265.2)

  8. Step 700

    700

    #2953CD

    oklch(49.1% 0.195 265.2)

  9. Step 800

    800

    #2245A6

    oklch(42.8% 0.162 265)

  10. Step 900

    900

    #203B83

    oklch(37.6% 0.126 265.3)

  11. Step 950

    950

    #13234D

    oklch(26.9% 0.08 265.6)

Export this scale for Tailwind in the Tailwind colors tool

#5182FF 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)#3A91FF0.039
Deuteranopia (no green cones)#0081FC0.043
Tritanopia (no blue cones)#009FB40.157
Achromatopsia (no color)#8989890.193

Harmonies

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

Complementary

The opposite hue (180°).

  • #5182FF

    #5182FF

    oklch(63.8% 0.193 265.2)

  • #AF8400

    #AF8400

    oklch(63.8% 0.131 85.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5182FF

    #5182FF

    oklch(63.8% 0.193 265.2)

  • #0097D1

    #0097D1

    oklch(63.8% 0.135 234.8)

  • #976CF2

    #976CF2

    oklch(63.8% 0.193 295.2)

Open the analogous palette in the generator

Split complementary

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

  • #5182FF

    #5182FF

    oklch(63.8% 0.193 265.2)

  • #D16C00

    #D16C00

    oklch(63.7% 0.157 55.2)

  • #899500

    #899500

    oklch(63.8% 0.145 115.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5182FF

    #5182FF

    oklch(63.8% 0.193 265.2)

  • #E94D4B

    #E94D4B

    oklch(63.7% 0.193 25.1)

  • #14A834

    #14A834

    oklch(63.8% 0.193 145.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5182FF

    #5182FF

    oklch(63.8% 0.193 265.2)

  • #DF4C91

    #DF4C91

    oklch(63.7% 0.193 355.1)

  • #AF8400

    #AF8400

    oklch(63.8% 0.131 85.5)

  • #00A388

    #00A388

    oklch(63.9% 0.12 175.3)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #5182FF.

Similar named colors

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

Use #5182FF 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.