#5A7ABE

Closest named color: Cool Blue (#4984B8). oklch(58.6% 0.111 264.1), rgb(90, 122, 190).

Aa

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

About this color

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

Hue familyBlues
Lightnessmedium-dark (59%)
Chromamoderately saturated (0.111)
Temperaturecool
Nearest nameCool Blue (#4984B8)
Black text4.96:1
White text4.23:1

Values

HEX#5A7ABE
RGBrgb(90, 122, 190)
HSLhsl(221, 43%, 55%)
OKLCHoklch(58.6% 0.111 264.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 #5A7ABE 4.23:1 AA large text Lc -74.6 Content text, not long reading
Black text on #5A7ABE 4.96:1 AA Lc 35.0 Non-text elements, placeholder text
#5A7ABE text on white 4.23:1 AA large text Lc 69.1 Content text, not long reading
#5A7ABE text on black 4.96:1 AA Lc -32.6 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

    #E5EAF4

    oklch(93.6% 0.015 264.5)

  3. Step 200

    200

    #D0D9EC

    oklch(88.4% 0.028 265.4)

  4. Step 300

    300

    #B0C1E2

    oklch(80.9% 0.05 263.7)

  5. Step 400

    400

    #87A0D3

    oklch(70.6% 0.08 264.2)

  6. Step 500

    500

    #6A88C8

    oklch(63.1% 0.103 264.5)

  7. Step 600

    600 (this color)

    #5A7ABE

    oklch(58.6% 0.111 264.1)

  8. Step 700

    700

    #425E9B

    oklch(49% 0.104 264.3)

  9. Step 800

    800

    #374D7E

    oklch(42.6% 0.086 264.7)

  10. Step 900

    900

    #2F4165

    oklch(37.8% 0.066 263.3)

  11. Step 950

    950

    #1C263B

    oklch(27% 0.042 264.3)

Export this scale for Tailwind in the Tailwind colors tool

#5A7ABE 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)#5F80C10.018
Deuteranopia (no green cones)#5477BD0.012
Tritanopia (no blue cones)#2889930.100
Achromatopsia (no color)#7B7B7B0.111

Harmonies

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

Complementary

The opposite hue (180°).

  • #5A7ABE

    #5A7ABE

    oklch(58.6% 0.111 264.1)

  • #9B751B

    #9B751B

    oklch(58.5% 0.111 83.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5A7ABE

    #5A7ABE

    oklch(58.6% 0.111 264.1)

  • #2386B4

    #2386B4

    oklch(58.6% 0.111 234.2)

  • #806EB7

    #806EB7

    oklch(58.6% 0.111 294.1)

Open the analogous palette in the generator

Split complementary

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

  • #5A7ABE

    #5A7ABE

    oklch(58.6% 0.111 264.1)

  • #AE6836

    #AE6836

    oklch(58.5% 0.111 54.1)

  • #7B832B

    #7B832B

    oklch(58.6% 0.111 114.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5A7ABE

    #5A7ABE

    oklch(58.6% 0.111 264.1)

  • #B55F5B

    #B55F5B

    oklch(58.6% 0.112 23.8)

  • #4F8D50

    #4F8D50

    oklch(58.6% 0.111 144.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5A7ABE

    #5A7ABE

    oklch(58.6% 0.111 264.1)

  • #AE5E80

    #AE5E80

    oklch(58.5% 0.111 354.2)

  • #9B751B

    #9B751B

    oklch(58.5% 0.111 83.6)

  • #009177

    #009177

    oklch(58.6% 0.111 174.1)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #5A7ABE.

Similar named colors

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

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