#5A7EBD

Closest named color: Cool Blue (#4984B8). oklch(59.4% 0.105 261.1), rgb(90, 126, 189).

Aa

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

About this color

#5A7EBD is a medium-dark, moderately saturated blue. In OKLCH its lightness is 59%, its chroma 0.105 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.105)
Temperaturecool
Nearest nameCool Blue (#4984B8)
Black text5.15:1
White text4.07:1

Values

HEX#5A7EBD
RGBrgb(90, 126, 189)
HSLhsl(218, 43%, 55%)
OKLCHoklch(59.4% 0.105 261.1)

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

    #CFDAED

    oklch(88.6% 0.029 261.5)

  4. Step 300

    300

    #AEC2E3

    oklch(81% 0.052 260.4)

  5. Step 400

    400

    #84A1D4

    oklch(70.6% 0.082 261.5)

  6. Step 500

    500 (this color)

    #5A7EBD

    oklch(59.4% 0.105 261.1)

  7. Step 600

    600

    #4C72B6

    oklch(55.6% 0.115 261.3)

  8. Step 700

    700

    #3D5F9D

    oklch(49% 0.107 261.5)

  9. Step 800

    800

    #334E7F

    oklch(42.7% 0.088 261.5)

  10. Step 900

    900

    #2C4166

    oklch(37.6% 0.069 261.2)

  11. Step 950

    950

    #1A263C

    oklch(26.9% 0.045 261.9)

Export this scale for Tailwind in the Tailwind colors tool

#5A7EBD 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)#6583C00.021
Deuteranopia (no green cones)#5A7ABC0.011
Tritanopia (no blue cones)#288C950.094
Achromatopsia (no color)#7E7E7E0.105

Harmonies

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

Complementary

The opposite hue (180°).

  • #5A7EBD

    #5A7EBD

    oklch(59.4% 0.105 261.1)

  • #9E7729

    #9E7729

    oklch(59.4% 0.105 81.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5A7EBD

    #5A7EBD

    oklch(59.4% 0.105 261.1)

  • #2A89B1

    #2A89B1

    oklch(59.4% 0.105 230.8)

  • #7F72B8

    #7F72B8

    oklch(59.3% 0.106 291.4)

Open the analogous palette in the generator

Split complementary

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

  • #5A7EBD

    #5A7EBD

    oklch(59.4% 0.105 261.1)

  • #B06B40

    #B06B40

    oklch(59.5% 0.106 51.4)

  • #818431

    #818431

    oklch(59.4% 0.106 111.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5A7EBD

    #5A7EBD

    oklch(59.4% 0.105 261.1)

  • #B56363

    #B56363

    oklch(59.4% 0.106 20.7)

  • #598E51

    #598E51

    oklch(59.4% 0.106 141.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5A7EBD

    #5A7EBD

    oklch(59.4% 0.105 261.1)

  • #AD6386

    #AD6386

    oklch(59.4% 0.105 351)

  • #9E7729

    #9E7729

    oklch(59.4% 0.105 81.1)

  • #259276

    #259276

    oklch(59.3% 0.105 171.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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