#5B7FDF

Closest named color: Soft Blue (#6488EA). oklch(61.6% 0.151 266.6), rgb(91, 127, 223).

Aa

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

About this color

#5B7FDF is a medium-dark, vivid blue. In OKLCH its lightness is 62%, its chroma 0.151 and its hue 267°. Its hue sits on the cool side of the wheel. The nearest named color is Soft Blue (#6488EA), ΔE 0.030 away. Black text reads best on it, at 5.54:1.

Hue familyBlues
Lightnessmedium-dark (62%)
Chromavivid (0.151)
Temperaturecool
Nearest nameSoft Blue (#6488EA)
Black text5.54:1
White text3.78:1

Values

HEX#5B7FDF
RGBrgb(91, 127, 223)
HSLhsl(224, 67%, 62%)
OKLCHoklch(61.6% 0.151 266.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 #5B7FDF 3.78:1 AA large text Lc -70.7 Content text, not long reading
Black text on #5B7FDF 5.54:1 AA Lc 38.9 Non-text elements, placeholder text
#5B7FDF text on white 3.78:1 AA large text Lc 65.2 Content text, not long reading
#5B7FDF text on black 5.54:1 AA Lc -36.5 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

    #F2F5FC

    oklch(97% 0.01 267.4)

  2. Step 100

    100

    #E3EAF9

    oklch(93.6% 0.022 265.8)

  3. Step 200

    200

    #CDD9F5

    oklch(88.5% 0.041 267.1)

  4. Step 300

    300

    #ABC0F1

    oklch(80.9% 0.073 266.7)

  5. Step 400

    400

    #7F9EEB

    oklch(70.8% 0.119 266.7)

  6. Step 500

    500 (this color)

    #5B7FDF

    oklch(61.6% 0.151 266.6)

  7. Step 600

    600

    #476BD2

    oklch(55.6% 0.164 266.6)

  8. Step 700

    700

    #3959B6

    oklch(49.2% 0.152 266.5)

  9. Step 800

    800

    #2F4993

    oklch(42.7% 0.126 266.5)

  10. Step 900

    900

    #293E75

    oklch(37.7% 0.098 266.1)

  11. Step 950

    950

    #182545

    oklch(27.1% 0.062 265.8)

Export this scale for Tailwind in the Tailwind colors tool

#5B7FDF 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)#5489E30.026
Deuteranopia (no green cones)#417EDD0.027
Tritanopia (no blue cones)#0094A40.131
Achromatopsia (no color)#8383830.151

Harmonies

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

Complementary

The opposite hue (180°).

  • #5B7FDF

    #5B7FDF

    oklch(61.6% 0.151 266.6)

  • #A67E00

    #A67E00

    oklch(61.5% 0.126 86.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5B7FDF

    #5B7FDF

    oklch(61.6% 0.151 266.6)

  • #008FCA

    #008FCA

    oklch(61.5% 0.134 236.6)

  • #8F6ED4

    #8F6ED4

    oklch(61.6% 0.152 296.6)

Open the analogous palette in the generator

Split complementary

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

  • #5B7FDF

    #5B7FDF

    oklch(61.6% 0.151 266.6)

  • #C66800

    #C66800

    oklch(61.5% 0.15 56.3)

  • #808F00

    #808F00

    oklch(61.6% 0.142 116.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5B7FDF

    #5B7FDF

    oklch(61.6% 0.151 266.6)

  • #D05A52

    #D05A52

    oklch(61.5% 0.151 26.3)

  • #399C4A

    #399C4A

    oklch(61.5% 0.151 146.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5B7FDF

    #5B7FDF

    oklch(61.6% 0.151 266.6)

  • #C95887

    #C95887

    oklch(61.6% 0.152 356.4)

  • #A67E00

    #A67E00

    oklch(61.5% 0.126 86.2)

  • #009B83

    #009B83

    oklch(61.6% 0.115 176.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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