#5B7EBC

Closest named color: Cool Blue (#4984B8). oklch(59.4% 0.103 261.3), rgb(91, 126, 188).

Aa

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

About this color

#5B7EBC is a medium-dark, moderately saturated blue. In OKLCH its lightness is 59%, its chroma 0.103 and its hue 261°. Its hue sits on the cool side of the wheel. The nearest named color is Cool Blue (#4984B8), ΔE 0.026 away. Black text reads best on it, at 5.15:1.

Hue familyBlues
Lightnessmedium-dark (59%)
Chromamoderately saturated (0.103)
Temperaturecool
Nearest nameCool Blue (#4984B8)
Black text5.15:1
White text4.07:1

Values

HEX#5B7EBC
RGBrgb(91, 126, 188)
HSLhsl(218, 42%, 55%)
OKLCHoklch(59.4% 0.103 261.3)

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 #5B7EBC 4.07:1 AA large text Lc -73.3 Content text, not long reading
Black text on #5B7EBC 5.15:1 AA Lc 36.3 Non-text elements, placeholder text
#5B7EBC text on white 4.07:1 AA large text Lc 67.8 Content text, not long reading
#5B7EBC text on black 5.15:1 AA Lc -33.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

    #F3F6FA

    oklch(97.2% 0.006 255.5)

  2. Step 100

    100

    #E4EAF4

    oklch(93.5% 0.015 260.7)

  3. Step 200

    200

    #CFDAEC

    oklch(88.5% 0.028 260.3)

  4. Step 300

    300

    #AFC2E2

    oklch(81% 0.05 260.9)

  5. Step 400

    400

    #84A1D4

    oklch(70.6% 0.082 261.5)

  6. Step 500

    500 (this color)

    #5B7EBC

    oklch(59.4% 0.103 261.3)

  7. Step 600

    600

    #4D72B5

    oklch(55.6% 0.113 261.5)

  8. Step 700

    700

    #3E5F9C

    oklch(49% 0.106 261.8)

  9. Step 800

    800

    #334E7E

    oklch(42.6% 0.087 261.2)

  10. Step 900

    900

    #2D4165

    oklch(37.6% 0.067 261.5)

  11. Step 950

    950

    #1A263B

    oklch(26.8% 0.043 261.2)

Export this scale for Tailwind in the Tailwind colors tool

#5B7EBC 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)#6683BF0.021
Deuteranopia (no green cones)#5A7ABB0.011
Tritanopia (no blue cones)#2C8C940.094
Achromatopsia (no color)#7E7E7E0.103

Harmonies

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

Complementary

The opposite hue (180°).

  • #5B7EBC

    #5B7EBC

    oklch(59.4% 0.103 261.3)

  • #9E772B

    #9E772B

    oklch(59.4% 0.104 80.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5B7EBC

    #5B7EBC

    oklch(59.4% 0.103 261.3)

  • #2D89B1

    #2D89B1

    oklch(59.4% 0.104 231.3)

  • #7F73B7

    #7F73B7

    oklch(59.5% 0.103 291)

Open the analogous palette in the generator

Split complementary

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

  • #5B7EBC

    #5B7EBC

    oklch(59.4% 0.103 261.3)

  • #AF6B41

    #AF6B41

    oklch(59.4% 0.104 51.3)

  • #818434

    #818434

    oklch(59.4% 0.103 111.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5B7EBC

    #5B7EBC

    oklch(59.4% 0.103 261.3)

  • #B46463

    #B46463

    oklch(59.4% 0.103 21.4)

  • #5A8E52

    #5A8E52

    oklch(59.5% 0.104 141.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5B7EBC

    #5B7EBC

    oklch(59.4% 0.103 261.3)

  • #AD6386

    #AD6386

    oklch(59.4% 0.105 351)

  • #9E772B

    #9E772B

    oklch(59.4% 0.104 80.7)

  • #289276

    #289276

    oklch(59.4% 0.104 171)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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