#5B81EB

Closest named color: Soft Blue (#6488EA). oklch(62.7% 0.165 266.8), rgb(91, 129, 235).

Aa

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

About this color

#5B81EB is a medium-light, vivid blue. In OKLCH its lightness is 63%, its chroma 0.165 and its hue 267°. 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 5.78:1.

Hue familyBlues
Lightnessmedium-light (63%)
Chromavivid (0.165)
Temperaturecool
Nearest nameSoft Blue (#6488EA)
Black text5.78:1
White text3.63:1

Values

HEX#5B81EB
RGBrgb(91, 129, 235)
HSLhsl(224, 78%, 64%)
OKLCHoklch(62.7% 0.165 266.8)

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 #5B81EB 3.63:1 AA large text Lc -69.1 Content text, not long reading
Black text on #5B81EB 5.78:1 AA Lc 40.4 Non-text elements, placeholder text
#5B81EB text on white 3.63:1 AA large text Lc 63.6 Content text, not long reading
#5B81EB text on black 5.78:1 AA Lc -38.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

    #F2F5FD

    oklch(97% 0.011 269.6)

  2. Step 100

    100

    #E3EAFA

    oklch(93.6% 0.023 266.9)

  3. Step 200

    200

    #CCD9F8

    oklch(88.5% 0.045 267.4)

  4. Step 300

    300

    #A9C0F6

    oklch(81% 0.081 266.7)

  5. Step 400

    400

    #7C9DF1

    oklch(70.7% 0.129 266.8)

  6. Step 500

    500 (this color)

    #5B81EB

    oklch(62.7% 0.165 266.8)

  7. Step 600

    600

    #4469DB

    oklch(55.7% 0.179 266.9)

  8. Step 700

    700

    #3657BE

    oklch(49.2% 0.166 266.7)

  9. Step 800

    800

    #2D4799

    oklch(42.6% 0.138 267.1)

  10. Step 900

    900

    #283D7A

    oklch(37.8% 0.107 266.9)

  11. Step 950

    950

    #172447

    oklch(26.9% 0.068 266.6)

Export this scale for Tailwind in the Tailwind colors tool

#5B81EB 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)#4E8DEF0.031
Deuteranopia (no green cones)#3780E90.033
Tritanopia (no blue cones)#0099AB0.140
Achromatopsia (no color)#8686860.165

Harmonies

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

Complementary

The opposite hue (180°).

  • #5B81EB

    #5B81EB

    oklch(62.7% 0.165 266.8)

  • #AA8200

    #AA8200

    oklch(62.8% 0.128 86.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5B81EB

    #5B81EB

    oklch(62.7% 0.165 266.8)

  • #0093D0

    #0093D0

    oklch(62.8% 0.137 236.8)

  • #946FDE

    #946FDE

    oklch(62.8% 0.164 296.8)

Open the analogous palette in the generator

Split complementary

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

  • #5B81EB

    #5B81EB

    oklch(62.7% 0.165 266.8)

  • #CB6C00

    #CB6C00

    oklch(62.8% 0.152 57)

  • #839200

    #839200

    oklch(62.6% 0.144 116.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5B81EB

    #5B81EB

    oklch(62.7% 0.165 266.8)

  • #DA584F

    #DA584F

    oklch(62.7% 0.165 26.8)

  • #2FA247

    #2FA247

    oklch(62.8% 0.165 146.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5B81EB

    #5B81EB

    oklch(62.7% 0.165 266.8)

  • #D2568A

    #D2568A

    oklch(62.7% 0.165 356.8)

  • #AA8200

    #AA8200

    oklch(62.8% 0.128 86.8)

  • #009F87

    #009F87

    oklch(62.8% 0.117 176.9)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #5B81EB.

Similar named colors

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

Use #5B81EB 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.