#5B7DDB

Closest named color: Soft Blue (#6488EA). oklch(60.9% 0.148 267), rgb(91, 125, 219).

Aa

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

About this color

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

Hue familyBlues
Lightnessmedium-dark (61%)
Chromavivid (0.148)
Temperaturecool
Nearest nameSoft Blue (#6488EA)
Black text5.40:1
White text3.88:1

Values

HEX#5B7DDB
RGBrgb(91, 125, 219)
HSLhsl(224, 64%, 61%)
OKLCHoklch(60.9% 0.148 267)

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 #5B7DDB 3.88:1 AA large text Lc -71.6 Content text, not long reading
Black text on #5B7DDB 5.40:1 AA Lc 38.0 Non-text elements, placeholder text
#5B7DDB text on white 3.88:1 AA large text Lc 66.1 Content text, not long reading
#5B7DDB text on black 5.40:1 AA Lc -35.6 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

    #E3EAF8

    oklch(93.6% 0.02 264.5)

  3. Step 200

    200

    #CDD9F5

    oklch(88.5% 0.041 267.1)

  4. Step 300

    300

    #ACC0F0

    oklch(80.9% 0.072 267.1)

  5. Step 400

    400

    #809EE9

    oklch(70.7% 0.115 266.8)

  6. Step 500

    500 (this color)

    #5B7DDB

    oklch(60.9% 0.148 267)

  7. Step 600

    600

    #496BD0

    oklch(55.6% 0.16 267.1)

  8. Step 700

    700

    #3B59B4

    oklch(49.1% 0.149 267.1)

  9. Step 800

    800

    #304992

    oklch(42.7% 0.124 266.9)

  10. Step 900

    900

    #2A3E74

    oklch(37.7% 0.096 266.6)

  11. Step 950

    950

    #192544

    oklch(27.1% 0.06 266.5)

Export this scale for Tailwind in the Tailwind colors tool

#5B7DDB 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)#5387DF0.026
Deuteranopia (no green cones)#417CD90.027
Tritanopia (no blue cones)#0092A10.131
Achromatopsia (no color)#8181810.148

Harmonies

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

Complementary

The opposite hue (180°).

  • #5B7DDB

    #5B7DDB

    oklch(60.9% 0.148 267)

  • #A37D00

    #A37D00

    oklch(61% 0.125 87.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5B7DDB

    #5B7DDB

    oklch(60.9% 0.148 267)

  • #008DC8

    #008DC8

    oklch(61% 0.133 236.9)

  • #8D6DD0

    #8D6DD0

    oklch(61% 0.148 296.7)

Open the analogous palette in the generator

Split complementary

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

  • #5B7DDB

    #5B7DDB

    oklch(60.9% 0.148 267)

  • #C36700

    #C36700

    oklch(60.9% 0.148 56.7)

  • #7E8D00

    #7E8D00

    oklch(61% 0.141 117)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5B7DDB

    #5B7DDB

    oklch(60.9% 0.148 267)

  • #CC5A50

    #CC5A50

    oklch(60.9% 0.147 27.3)

  • #389A4A

    #389A4A

    oklch(61% 0.148 146.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5B7DDB

    #5B7DDB

    oklch(60.9% 0.148 267)

  • #C65884

    #C65884

    oklch(61% 0.147 357.3)

  • #A37D00

    #A37D00

    oklch(61% 0.125 87.2)

  • #009982

    #009982

    oklch(61.1% 0.113 177)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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