#5A7CA8

Closest named color: Off Blue (#5684AE). oklch(57.9% 0.079 255.2), rgb(90, 124, 168).

Aa

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

About this color

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

Hue familyBlues
Lightnessmedium-dark (58%)
Chromamoderately saturated (0.079)
Temperaturecool
Nearest nameOff Blue (#5684AE)
Black text4.88:1
White text4.30:1

Values

HEX#5A7CA8
RGBrgb(90, 124, 168)
HSLhsl(214, 31%, 51%)
OKLCHoklch(57.9% 0.079 255.2)

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 #5A7CA8 4.30:1 AA large text Lc -75.2 Fine for body text
Black text on #5A7CA8 4.88:1 AA Lc 34.4 Non-text elements, placeholder text
#5A7CA8 text on white 4.30:1 AA large text Lc 69.7 Content text, not long reading
#5A7CA8 text on black 4.88:1 AA Lc -32.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

    #D1DAE6

    oklch(88.5% 0.019 255.5)

  4. Step 300

    300

    #B2C2D8

    oklch(80.9% 0.036 256.4)

  5. Step 400

    400

    #89A3C4

    oklch(70.7% 0.057 254.6)

  6. Step 500

    500

    #6C8CB5

    oklch(63.2% 0.072 254.9)

  7. Step 600

    600 (this color)

    #5A7CA8

    oklch(57.9% 0.079 255.2)

  8. Step 700

    700

    #44628A

    oklch(49% 0.074 255.9)

  9. Step 800

    800

    #385070

    oklch(42.6% 0.061 255.9)

  10. Step 900

    900

    #30435A

    oklch(37.7% 0.047 253.7)

  11. Step 950

    950

    #1D2735

    oklch(27% 0.03 256.9)

Export this scale for Tailwind in the Tailwind colors tool

#5A7CA8 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)#6B7EAA0.023
Deuteranopia (no green cones)#6276A70.018
Tritanopia (no blue cones)#3A868B0.070
Achromatopsia (no color)#7A7A7A0.079

Harmonies

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

Complementary

The opposite hue (180°).

  • #5A7CA8

    #5A7CA8

    oklch(57.9% 0.079 255.2)

  • #957342

    #957342

    oklch(57.8% 0.079 75.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5A7CA8

    #5A7CA8

    oklch(57.9% 0.079 255.2)

  • #40849D

    #40849D

    oklch(57.9% 0.078 224.7)

  • #7573A7

    #7573A7

    oklch(57.8% 0.079 285.4)

Open the analogous palette in the generator

Split complementary

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

  • #5A7CA8

    #5A7CA8

    oklch(57.9% 0.079 255.2)

  • #A16B52

    #A16B52

    oklch(57.9% 0.079 45.6)

  • #817D43

    #817D43

    oklch(58% 0.079 105.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5A7CA8

    #5A7CA8

    oklch(57.9% 0.079 255.2)

  • #A3666B

    #A3666B

    oklch(57.8% 0.079 14.5)

  • #658555

    #658555

    oklch(57.9% 0.079 135.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5A7CA8

    #5A7CA8

    oklch(57.9% 0.079 255.2)

  • #9C6784

    #9C6784

    oklch(57.9% 0.078 345.9)

  • #957342

    #957342

    oklch(57.8% 0.079 75.2)

  • #49896E

    #49896E

    oklch(57.9% 0.079 164.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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