#5A7EAF

Closest named color: Off Blue (#5684AE). oklch(58.7% 0.086 256.3), rgb(90, 126, 175).

Aa

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

About this color

#5A7EAF is a medium-dark, moderately saturated blue. In OKLCH its lightness is 59%, its chroma 0.086 and its hue 256°. Its hue sits on the cool side of the wheel. The nearest named color is Off Blue (#5684AE), ΔE 0.018 away. Black text reads best on it, at 5.03:1.

Hue familyBlues
Lightnessmedium-dark (59%)
Chromamoderately saturated (0.086)
Temperaturecool
Nearest nameOff Blue (#5684AE)
Black text5.03:1
White text4.16:1

Values

HEX#5A7EAF
RGBrgb(90, 126, 175)
HSLhsl(215, 35%, 52%)
OKLCHoklch(58.7% 0.086 256.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 #5A7EAF 4.16:1 AA large text Lc -74.1 Content text, not long reading
Black text on #5A7EAF 5.03:1 AA Lc 35.5 Non-text elements, placeholder text
#5A7EAF text on white 4.16:1 AA large text Lc 68.6 Content text, not long reading
#5A7EAF text on black 5.03:1 AA Lc -33.0 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

    #F3F6F9

    oklch(97.2% 0.005 247.9)

  2. Step 100

    100

    #E5EAF1

    oklch(93.5% 0.011 256.7)

  3. Step 200

    200

    #D0DAE8

    oklch(88.5% 0.022 256.7)

  4. Step 300

    300

    #B1C2DA

    oklch(80.9% 0.039 257)

  5. Step 400

    400

    #88A3C7

    oklch(70.8% 0.061 255.7)

  6. Step 500

    500

    #6A8BB9

    oklch(63% 0.079 256.8)

  7. Step 600

    600 (this color)

    #5A7EAF

    oklch(58.7% 0.086 256.3)

  8. Step 700

    700

    #42628E

    oklch(49.1% 0.08 256.6)

  9. Step 800

    800

    #365073

    oklch(42.7% 0.067 256.1)

  10. Step 900

    900

    #2F435D

    oklch(37.8% 0.052 255.3)

  11. Step 950

    950

    #1C2736

    oklch(27% 0.032 256.3)

Export this scale for Tailwind in the Tailwind colors tool

#5A7EAF 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)#6B81B10.024
Deuteranopia (no green cones)#6178AE0.018
Tritanopia (no blue cones)#35898F0.076
Achromatopsia (no color)#7C7C7C0.086

Harmonies

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

Complementary

The opposite hue (180°).

  • #5A7EAF

    #5A7EAF

    oklch(58.7% 0.086 256.3)

  • #99753E

    #99753E

    oklch(58.6% 0.085 76.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5A7EAF

    #5A7EAF

    oklch(58.7% 0.086 256.3)

  • #3B87A4

    #3B87A4

    oklch(58.8% 0.086 226.3)

  • #7874AD

    #7874AD

    oklch(58.6% 0.086 286.6)

Open the analogous palette in the generator

Split complementary

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

  • #5A7EAF

    #5A7EAF

    oklch(58.7% 0.086 256.3)

  • #A76C4F

    #A76C4F

    oklch(58.8% 0.087 46.7)

  • #83803F

    #83803F

    oklch(58.8% 0.087 106.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5A7EAF

    #5A7EAF

    oklch(58.7% 0.086 256.3)

  • #A9676A

    #A9676A

    oklch(58.7% 0.085 17.1)

  • #648854

    #648854

    oklch(58.6% 0.086 136.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5A7EAF

    #5A7EAF

    oklch(58.7% 0.086 256.3)

  • #A26787

    #A26787

    oklch(58.7% 0.087 346.4)

  • #99753E

    #99753E

    oklch(58.6% 0.085 76.4)

  • #438D71

    #438D71

    oklch(58.8% 0.087 166.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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