#5B8EFC

Closest named color: Soft Blue (#6488EA). oklch(66.4% 0.172 263.7), rgb(91, 142, 252).

Aa

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

About this color

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

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

Values

HEX#5B8EFC
RGBrgb(91, 142, 252)
HSLhsl(221, 96%, 67%)
OKLCHoklch(66.4% 0.172 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 #5B8EFC 3.12:1 AA large text Lc -63.4 Content text, not long reading
Black text on #5B8EFC 6.71:1 AA Lc 46.1 Large or bold text, headings
#5B8EFC text on white 3.12:1 AA large text Lc 58.0 Large or bold text, headings
#5B8EFC text on black 6.71:1 AA Lc -43.8 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

    #A5C1F8

    oklch(81% 0.084 263.6)

  5. Step 400

    400

    #759EF4

    oklch(70.6% 0.134 263.9)

  6. Step 500

    500 (this color)

    #5B8EFC

    oklch(66.4% 0.172 263.7)

  7. Step 600

    600

    #376ADF

    oklch(55.6% 0.187 263.7)

  8. Step 700

    700

    #2A57C2

    oklch(49.1% 0.175 263.9)

  9. Step 800

    800

    #23489D

    oklch(42.7% 0.145 263.7)

  10. Step 900

    900

    #213D7C

    oklch(37.6% 0.112 263.8)

  11. Step 950

    950

    #142549

    oklch(27.2% 0.071 263.4)

Export this scale for Tailwind in the Tailwind colors tool

#5B8EFC 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)#5A9AFF0.031
Deuteranopia (no green cones)#3F8BFA0.027
Tritanopia (no blue cones)#00A7B90.143
Achromatopsia (no color)#9292920.172

Harmonies

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

Complementary

The opposite hue (180°).

  • #5B8EFC

    #5B8EFC

    oklch(66.4% 0.172 263.7)

  • #BB8B00

    #BB8B00

    oklch(66.5% 0.137 84)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5B8EFC

    #5B8EFC

    oklch(66.4% 0.172 263.7)

  • #00A0DB

    #00A0DB

    oklch(66.5% 0.139 233.8)

  • #9B7AF2

    #9B7AF2

    oklch(66.5% 0.173 293.8)

Open the analogous palette in the generator

Split complementary

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

  • #5B8EFC

    #5B8EFC

    oklch(66.4% 0.172 263.7)

  • #DF7100

    #DF7100

    oklch(66.4% 0.167 53.9)

  • #949C00

    #949C00

    oklch(66.4% 0.148 113.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5B8EFC

    #5B8EFC

    oklch(66.4% 0.172 263.7)

  • #EA605E

    #EA605E

    oklch(66.4% 0.172 23.8)

  • #44AD46

    #44AD46

    oklch(66.4% 0.172 143.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5B8EFC

    #5B8EFC

    oklch(66.4% 0.172 263.7)

  • #E05F9B

    #E05F9B

    oklch(66.4% 0.172 353.8)

  • #BB8B00

    #BB8B00

    oklch(66.5% 0.137 84)

  • #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 #5B8EFC, closest first.

Similar named colors

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

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