#5A7DBB

Closest named color: Cool Blue (#4984B8). oklch(59.1% 0.104 261.3), rgb(90, 125, 187).

Aa

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

About this color

#5A7DBB is a medium-dark, moderately saturated blue. In OKLCH its lightness is 59%, its chroma 0.104 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.08:1.

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

Values

HEX#5A7DBB
RGBrgb(90, 125, 187)
HSLhsl(218, 42%, 54%)
OKLCHoklch(59.1% 0.104 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 #5A7DBB 4.12:1 AA large text Lc -73.8 Content text, not long reading
Black text on #5A7DBB 5.08:1 AA Lc 35.8 Non-text elements, placeholder text
#5A7DBB text on white 4.12:1 AA large text Lc 68.3 Content text, not long reading
#5A7DBB text on black 5.08:1 AA Lc -33.4 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 600.

  1. Step 50

    50

    #F3F6FA

    oklch(97.2% 0.006 255.5)

  2. Step 100

    100

    #E5EAF3

    oklch(93.6% 0.013 262.4)

  3. Step 200

    200

    #D0DAEB

    oklch(88.6% 0.026 261.1)

  4. Step 300

    300

    #B0C1DF

    oklch(80.8% 0.046 261.8)

  5. Step 400

    400

    #87A1D0

    oklch(70.7% 0.075 262.1)

  6. Step 500

    500

    #698AC3

    oklch(63.2% 0.094 261)

  7. Step 600

    600 (this color)

    #5A7DBB

    oklch(59.1% 0.104 261.3)

  8. Step 700

    700

    #416097

    oklch(49.1% 0.096 261.2)

  9. Step 800

    800

    #364E7B

    oklch(42.6% 0.081 262.2)

  10. Step 900

    900

    #2F4163

    oklch(37.6% 0.063 262.4)

  11. Step 950

    950

    #1B263A

    oklch(26.9% 0.041 261.9)

Export this scale for Tailwind in the Tailwind colors tool

#5A7DBB 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)#6582BE0.021
Deuteranopia (no green cones)#5979BA0.011
Tritanopia (no blue cones)#2B8B930.094
Achromatopsia (no color)#7D7D7D0.104

Harmonies

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

Complementary

The opposite hue (180°).

  • #5A7DBB

    #5A7DBB

    oklch(59.1% 0.104 261.3)

  • #9D762A

    #9D762A

    oklch(59% 0.104 80.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5A7DBB

    #5A7DBB

    oklch(59.1% 0.104 261.3)

  • #2B88B0

    #2B88B0

    oklch(59.1% 0.104 231.2)

  • #7E72B6

    #7E72B6

    oklch(59.1% 0.103 291)

Open the analogous palette in the generator

Split complementary

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

  • #5A7DBB

    #5A7DBB

    oklch(59.1% 0.104 261.3)

  • #AE6A40

    #AE6A40

    oklch(59% 0.104 51.2)

  • #808332

    #808332

    oklch(59.1% 0.104 111.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5A7DBB

    #5A7DBB

    oklch(59.1% 0.104 261.3)

  • #B36362

    #B36362

    oklch(59.1% 0.104 21.4)

  • #598D51

    #598D51

    oklch(59.1% 0.104 141.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5A7DBB

    #5A7DBB

    oklch(59.1% 0.104 261.3)

  • #AC6285

    #AC6285

    oklch(59.1% 0.105 351)

  • #9D762A

    #9D762A

    oklch(59% 0.104 80.6)

  • #279175

    #279175

    oklch(59% 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 #5A7DBB, closest first.

Similar named colors

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

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