#5A7DBC

Closest named color: Cool Blue (#4984B8). oklch(59.1% 0.105 261.6), rgb(90, 125, 188).

Aa

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

About this color

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

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

Values

HEX#5A7DBC
RGBrgb(90, 125, 188)
HSLhsl(219, 42%, 55%)
OKLCHoklch(59.1% 0.105 261.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 #5A7DBC 4.12:1 AA large text Lc -73.7 Content text, not long reading
Black text on #5A7DBC 5.09:1 AA Lc 35.9 Non-text elements, placeholder text
#5A7DBC text on white 4.12:1 AA large text Lc 68.2 Content text, not long reading
#5A7DBC text on black 5.09: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

    #B0C1E0

    oklch(80.8% 0.048 262.5)

  5. Step 400

    400

    #87A1D0

    oklch(70.7% 0.075 262.1)

  6. Step 500

    500

    #6989C4

    oklch(63% 0.097 262.1)

  7. Step 600

    600 (this color)

    #5A7DBC

    oklch(59.1% 0.105 261.6)

  8. Step 700

    700

    #416098

    oklch(49.2% 0.097 261.5)

  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

#5A7DBC 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)#6482BF0.020
Deuteranopia (no green cones)#5979BB0.011
Tritanopia (no blue cones)#2A8B940.094
Achromatopsia (no color)#7D7D7D0.105

Harmonies

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

Complementary

The opposite hue (180°).

  • #5A7DBC

    #5A7DBC

    oklch(59.1% 0.105 261.6)

  • #9D7628

    #9D7628

    oklch(59% 0.105 81.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5A7DBC

    #5A7DBC

    oklch(59.1% 0.105 261.6)

  • #2A88B1

    #2A88B1

    oklch(59.1% 0.105 231.7)

  • #7F71B7

    #7F71B7

    oklch(59.1% 0.106 292)

Open the analogous palette in the generator

Split complementary

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

  • #5A7DBC

    #5A7DBC

    oklch(59.1% 0.105 261.6)

  • #AE6A3F

    #AE6A3F

    oklch(59% 0.105 51.7)

  • #808331

    #808331

    oklch(59% 0.105 111.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5A7DBC

    #5A7DBC

    oklch(59.1% 0.105 261.6)

  • #B46361

    #B46361

    oklch(59.2% 0.105 22.2)

  • #588D51

    #588D51

    oklch(59.1% 0.105 141.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5A7DBC

    #5A7DBC

    oklch(59.1% 0.105 261.6)

  • #AD6285

    #AD6285

    oklch(59.2% 0.106 351.4)

  • #9D7628

    #9D7628

    oklch(59% 0.105 81.1)

  • #239176

    #239176

    oklch(59% 0.104 172)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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