#5A7FBB

Closest named color: Cool Blue (#4984B8). oklch(59.5% 0.101 259.7), rgb(90, 127, 187).

Aa

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

About this color

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

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

Values

HEX#5A7FBB
RGBrgb(90, 127, 187)
HSLhsl(217, 42%, 54%)
OKLCHoklch(59.5% 0.101 259.7)

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 #5A7FBB 4.04:1 AA large text Lc -73.1 Content text, not long reading
Black text on #5A7FBB 5.18:1 AA Lc 36.5 Non-text elements, placeholder text
#5A7FBB text on white 4.04:1 AA large text Lc 67.6 Content text, not long reading
#5A7FBB text on black 5.18:1 AA Lc -34.1 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

    #CFDAEC

    oklch(88.5% 0.028 260.3)

  4. Step 300

    300

    #AEC2E1

    oklch(80.9% 0.049 259.1)

  5. Step 400

    400

    #83A2D2

    oklch(70.7% 0.079 259)

  6. Step 500

    500 (this color)

    #5A7FBB

    oklch(59.5% 0.101 259.7)

  7. Step 600

    600

    #4B73B3

    oklch(55.6% 0.11 259.4)

  8. Step 700

    700

    #3C609A

    oklch(49% 0.102 259.5)

  9. Step 800

    800

    #324F7D

    oklch(42.8% 0.084 259.3)

  10. Step 900

    900

    #2C4265

    oklch(37.8% 0.066 259.4)

  11. Step 950

    950

    #1A273B

    oklch(27.1% 0.042 258.8)

Export this scale for Tailwind in the Tailwind colors tool

#5A7FBB 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)#6883BE0.022
Deuteranopia (no green cones)#5C7ABA0.014
Tritanopia (no blue cones)#2A8C940.091
Achromatopsia (no color)#7E7E7E0.101

Harmonies

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

Complementary

The opposite hue (180°).

  • #5A7FBB

    #5A7FBB

    oklch(59.5% 0.101 259.7)

  • #9E772F

    #9E772F

    oklch(59.4% 0.101 79.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5A7FBB

    #5A7FBB

    oklch(59.5% 0.101 259.7)

  • #2E89AF

    #2E89AF

    oklch(59.4% 0.101 230.1)

  • #7E74B7

    #7E74B7

    oklch(59.6% 0.101 289.8)

Open the analogous palette in the generator

Split complementary

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

  • #5A7FBB

    #5A7FBB

    oklch(59.5% 0.101 259.7)

  • #AF6C45

    #AF6C45

    oklch(59.6% 0.101 50.1)

  • #838435

    #838435

    oklch(59.6% 0.102 109.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5A7FBB

    #5A7FBB

    oklch(59.5% 0.101 259.7)

  • #B36566

    #B36566

    oklch(59.5% 0.101 19.7)

  • #5D8D52

    #5D8D52

    oklch(59.4% 0.101 139.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5A7FBB

    #5A7FBB

    oklch(59.5% 0.101 259.7)

  • #AC6487

    #AC6487

    oklch(59.5% 0.102 350.1)

  • #9E772F

    #9E772F

    oklch(59.4% 0.101 79.8)

  • #2F9275

    #2F9275

    oklch(59.5% 0.101 169.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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