#5B8EFB

Closest named color: Soft Blue (#6488EA). oklch(66.4% 0.171 263.6), rgb(91, 142, 251).

Aa

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

About this color

#5B8EFB is a medium-light, vivid blue. In OKLCH its lightness is 66%, its chroma 0.171 and its hue 264°. Its hue sits on the cool side of the wheel. The nearest named color is Soft Blue (#6488EA), ΔE 0.028 away. Black text reads best on it, at 6.70:1.

Hue familyBlues
Lightnessmedium-light (66%)
Chromavivid (0.171)
Temperaturecool
Nearest nameSoft Blue (#6488EA)
Black text6.70:1
White text3.13:1

Values

HEX#5B8EFB
RGBrgb(91, 142, 251)
HSLhsl(221, 95%, 67%)
OKLCHoklch(66.4% 0.171 263.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 #5B8EFB 3.13:1 AA large text Lc -63.5 Content text, not long reading
Black text on #5B8EFB 6.70:1 AA Lc 46.0 Large or bold text, headings
#5B8EFB text on white 3.13:1 AA large text Lc 58.1 Large or bold text, headings
#5B8EFB text on black 6.70:1 AA Lc -43.7 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

    #F2F6FD

    oklch(97.2% 0.01 261.8)

  2. Step 100

    100

    #E2EAFB

    oklch(93.6% 0.025 265.6)

  3. Step 200

    200

    #C9DAF9

    oklch(88.5% 0.047 262.5)

  4. Step 300

    300

    #A5C1F7

    oklch(80.9% 0.083 263.3)

  5. Step 400

    400

    #759EF4

    oklch(70.6% 0.134 263.9)

  6. Step 500

    500 (this color)

    #5B8EFB

    oklch(66.4% 0.171 263.6)

  7. Step 600

    600

    #376ADE

    oklch(55.5% 0.186 263.6)

  8. Step 700

    700

    #2A58C1

    oklch(49.2% 0.173 263.5)

  9. Step 800

    800

    #23489C

    oklch(42.6% 0.144 263.6)

  10. Step 900

    900

    #213E7C

    oklch(37.8% 0.111 263.2)

  11. Step 950

    950

    #142549

    oklch(27.2% 0.071 263.4)

Export this scale for Tailwind in the Tailwind colors tool

#5B8EFB 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)#5A99FF0.028
Deuteranopia (no green cones)#408BF90.026
Tritanopia (no blue cones)#00A7B80.143
Achromatopsia (no color)#9292920.171

Harmonies

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

Complementary

The opposite hue (180°).

  • #5B8EFB

    #5B8EFB

    oklch(66.4% 0.171 263.6)

  • #BB8A00

    #BB8A00

    oklch(66.3% 0.136 83.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5B8EFB

    #5B8EFB

    oklch(66.4% 0.171 263.6)

  • #00A0DA

    #00A0DA

    oklch(66.4% 0.138 233.4)

  • #9A7AF1

    #9A7AF1

    oklch(66.3% 0.172 293.6)

Open the analogous palette in the generator

Split complementary

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

  • #5B8EFB

    #5B8EFB

    oklch(66.4% 0.171 263.6)

  • #DF7000

    #DF7000

    oklch(66.3% 0.167 53.4)

  • #949C00

    #949C00

    oklch(66.4% 0.148 113.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5B8EFB

    #5B8EFB

    oklch(66.4% 0.171 263.6)

  • #E9605F

    #E9605F

    oklch(66.3% 0.171 23.3)

  • #45AD46

    #45AD46

    oklch(66.4% 0.172 143.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5B8EFB

    #5B8EFB

    oklch(66.4% 0.171 263.6)

  • #DF5F9B

    #DF5F9B

    oklch(66.3% 0.171 353.5)

  • #BB8A00

    #BB8A00

    oklch(66.3% 0.136 83.3)

  • #00AC8D

    #00AC8D

    oklch(66.4% 0.127 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 #5B8EFB, closest first.

Similar named colors

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

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