#5A7ABB

Closest named color: Cool Blue (#4984B8). oklch(58.4% 0.107 263.5), rgb(90, 122, 187).

Aa

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

About this color

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

Hue familyBlues
Lightnessmedium-dark (58%)
Chromamoderately saturated (0.107)
Temperaturecool
Nearest nameCool Blue (#4984B8)
Black text4.93:1
White text4.25:1

Values

HEX#5A7ABB
RGBrgb(90, 122, 187)
HSLhsl(220, 42%, 54%)
OKLCHoklch(58.4% 0.107 263.5)

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 #5A7ABB 4.25:1 AA large text Lc -74.8 Content text, not long reading
Black text on #5A7ABB 4.93:1 AA Lc 34.8 Non-text elements, placeholder text
#5A7ABB text on white 4.25:1 AA large text Lc 69.3 Content text, not long reading
#5A7ABB text on black 4.93:1 AA Lc -32.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

    #F3F5FA

    oklch(97% 0.007 268.5)

  2. Step 100

    100

    #E5EAF3

    oklch(93.6% 0.013 262.4)

  3. Step 200

    200

    #D0D9EB

    oklch(88.4% 0.027 264.4)

  4. Step 300

    300

    #B1C1E1

    oklch(80.9% 0.049 264.3)

  5. Step 400

    400

    #88A1D1

    oklch(70.8% 0.076 263.2)

  6. Step 500

    500

    #6A89C5

    oklch(63.1% 0.098 263)

  7. Step 600

    600 (this color)

    #5A7ABB

    oklch(58.4% 0.107 263.5)

  8. Step 700

    700

    #435F99

    oklch(49.1% 0.099 263.6)

  9. Step 800

    800

    #374E7C

    oklch(42.8% 0.082 263.2)

  10. Step 900

    900

    #304164

    oklch(37.8% 0.064 263.8)

  11. Step 950

    950

    #1C263A

    oklch(26.9% 0.04 263.6)

Export this scale for Tailwind in the Tailwind colors tool

#5A7ABB 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)#617FBE0.017
Deuteranopia (no green cones)#5577BA0.011
Tritanopia (no blue cones)#2B88920.096
Achromatopsia (no color)#7B7B7B0.107

Harmonies

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

Complementary

The opposite hue (180°).

  • #5A7ABB

    #5A7ABB

    oklch(58.4% 0.107 263.5)

  • #9A7522

    #9A7522

    oklch(58.4% 0.107 83.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5A7ABB

    #5A7ABB

    oklch(58.4% 0.107 263.5)

  • #2885B1

    #2885B1

    oklch(58.3% 0.107 233.9)

  • #7F6EB5

    #7F6EB5

    oklch(58.4% 0.108 293.8)

Open the analogous palette in the generator

Split complementary

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

  • #5A7ABB

    #5A7ABB

    oklch(58.4% 0.107 263.5)

  • #AC683A

    #AC683A

    oklch(58.3% 0.107 53.1)

  • #7B822E

    #7B822E

    oklch(58.3% 0.107 113.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5A7ABB

    #5A7ABB

    oklch(58.4% 0.107 263.5)

  • #B2605D

    #B2605D

    oklch(58.4% 0.107 23.1)

  • #528C51

    #528C51

    oklch(58.5% 0.107 143.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5A7ABB

    #5A7ABB

    oklch(58.4% 0.107 263.5)

  • #AC5F80

    #AC5F80

    oklch(58.4% 0.107 353.8)

  • #9A7522

    #9A7522

    oklch(58.4% 0.107 83.2)

  • #169076

    #169076

    oklch(58.5% 0.107 173.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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