#5182FD

Closest named color: Cornflower (#6A79F7). oklch(63.6% 0.191 265.1), rgb(81, 130, 253).

Aa

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

About this color

#5182FD is a medium-light, vivid blue. In OKLCH its lightness is 64%, its chroma 0.191 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.96:1.

Hue familyBlues
Lightnessmedium-light (64%)
Chromavivid (0.191)
Temperaturecool
Nearest nameCornflower (#6A79F7)
Black text5.96:1
White text3.52:1

Values

HEX#5182FD
RGBrgb(81, 130, 253)
HSLhsl(223, 98%, 65%)
OKLCHoklch(63.6% 0.191 265.1)

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 #5182FD 3.52:1 AA large text Lc -67.9 Content text, not long reading
Black text on #5182FD 5.96:1 AA Lc 41.7 Non-text elements, placeholder text
#5182FD text on white 3.52:1 AA large text Lc 62.4 Content text, not long reading
#5182FD text on black 5.96:1 AA Lc -39.3 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

    #C9D9FC

    oklch(88.5% 0.051 265.9)

  4. Step 300

    300

    #A3C0FE

    oklch(80.9% 0.094 265)

  5. Step 400

    400

    #739DFD

    oklch(70.8% 0.148 265)

  6. Step 500

    500 (this color)

    #5182FD

    oklch(63.6% 0.191 265.1)

  7. Step 600

    600

    #3666EA

    oklch(55.6% 0.207 265.1)

  8. Step 700

    700

    #2953CC

    oklch(49% 0.193 265.2)

  9. Step 800

    800

    #2345A5

    oklch(42.7% 0.16 265.3)

  10. Step 900

    900

    #203B83

    oklch(37.6% 0.126 265.3)

  11. Step 950

    950

    #13244C

    oklch(27.1% 0.077 264.5)

Export this scale for Tailwind in the Tailwind colors tool

#5182FD 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)#3D91FF0.038
Deuteranopia (no green cones)#0081FA0.043
Tritanopia (no blue cones)#009FB30.156
Achromatopsia (no color)#8888880.191

Harmonies

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

Complementary

The opposite hue (180°).

  • #5182FD

    #5182FD

    oklch(63.6% 0.191 265.1)

  • #AF8300

    #AF8300

    oklch(63.6% 0.13 84.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5182FD

    #5182FD

    oklch(63.6% 0.191 265.1)

  • #0096D1

    #0096D1

    oklch(63.6% 0.136 235.4)

  • #966CF0

    #966CF0

    oklch(63.6% 0.191 295.1)

Open the analogous palette in the generator

Split complementary

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

  • #5182FD

    #5182FD

    oklch(63.6% 0.191 265.1)

  • #D16C00

    #D16C00

    oklch(63.7% 0.157 55.2)

  • #899400

    #899400

    oklch(63.6% 0.144 114.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5182FD

    #5182FD

    oklch(63.6% 0.191 265.1)

  • #E84E4C

    #E84E4C

    oklch(63.7% 0.191 25)

  • #1BA735

    #1BA735

    oklch(63.6% 0.19 145.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5182FD

    #5182FD

    oklch(63.6% 0.191 265.1)

  • #DE4D91

    #DE4D91

    oklch(63.7% 0.191 355)

  • #AF8300

    #AF8300

    oklch(63.6% 0.13 84.8)

  • #00A287

    #00A287

    oklch(63.6% 0.12 175.2)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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