#5A7BDC

Closest named color: Soft Blue (#6488EA). oklch(60.5% 0.152 267.6), rgb(90, 123, 220).

Aa

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

About this color

#5A7BDC is a medium-dark, vivid blue. In OKLCH its lightness is 61%, its chroma 0.152 and its hue 268°. Its hue sits on the cool side of the wheel. The nearest named color is Soft Blue (#6488EA), ΔE 0.041 away. Black text reads best on it, at 5.30:1.

Hue familyBlues
Lightnessmedium-dark (61%)
Chromavivid (0.152)
Temperaturecool
Nearest nameSoft Blue (#6488EA)
Black text5.30:1
White text3.96:1

Values

HEX#5A7BDC
RGBrgb(90, 123, 220)
HSLhsl(225, 65%, 61%)
OKLCHoklch(60.5% 0.152 267.6)

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 #5A7BDC 3.96:1 AA large text Lc -72.2 Content text, not long reading
Black text on #5A7BDC 5.30:1 AA Lc 37.3 Non-text elements, placeholder text
#5A7BDC text on white 3.96:1 AA large text Lc 66.7 Content text, not long reading
#5A7BDC text on black 5.30:1 AA Lc -34.9 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

    #F2F5FC

    oklch(97% 0.01 267.4)

  2. Step 100

    100

    #E3EAF9

    oklch(93.6% 0.022 265.8)

  3. Step 200

    200

    #CDD9F5

    oklch(88.5% 0.041 267.1)

  4. Step 300

    300

    #ACC0F2

    oklch(81% 0.074 267.7)

  5. Step 400

    400

    #809DEB

    oklch(70.6% 0.119 267.8)

  6. Step 500

    500 (this color)

    #5A7BDC

    oklch(60.5% 0.152 267.6)

  7. Step 600

    600

    #496AD3

    oklch(55.6% 0.166 267.6)

  8. Step 700

    700

    #3B58B7

    oklch(49.2% 0.154 267.6)

  9. Step 800

    800

    #314894

    oklch(42.7% 0.128 268)

  10. Step 900

    900

    #2B3D76

    oklch(37.7% 0.1 268.2)

  11. Step 950

    950

    #192445

    oklch(26.9% 0.063 268.1)

Export this scale for Tailwind in the Tailwind colors tool

#5A7BDC 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)#4F86E00.029
Deuteranopia (no green cones)#3C7ADA0.030
Tritanopia (no blue cones)#0091A10.133
Achromatopsia (no color)#8080800.152

Harmonies

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

Complementary

The opposite hue (180°).

  • #5A7BDC

    #5A7BDC

    oklch(60.5% 0.152 267.6)

  • #A17C00

    #A17C00

    oklch(60.5% 0.124 87.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5A7BDC

    #5A7BDC

    oklch(60.5% 0.152 267.6)

  • #008BC7

    #008BC7

    oklch(60.4% 0.133 237.7)

  • #8D6AD0

    #8D6AD0

    oklch(60.5% 0.152 297.5)

Open the analogous palette in the generator

Split complementary

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

  • #5A7BDC

    #5A7BDC

    oklch(60.5% 0.152 267.6)

  • #C06700

    #C06700

    oklch(60.5% 0.145 57.7)

  • #7C8C00

    #7C8C00

    oklch(60.6% 0.14 117.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5A7BDC

    #5A7BDC

    oklch(60.5% 0.152 267.6)

  • #CD574C

    #CD574C

    oklch(60.6% 0.152 27.8)

  • #309948

    #309948

    oklch(60.4% 0.152 147.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5A7BDC

    #5A7BDC

    oklch(60.5% 0.152 267.6)

  • #C65582

    #C65582

    oklch(60.6% 0.151 357.7)

  • #A17C00

    #A17C00

    oklch(60.5% 0.124 87.6)

  • #009781

    #009781

    oklch(60.5% 0.112 177.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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