#5A7FDC

Closest named color: Soft Blue (#6488EA). oklch(61.4% 0.147 265.9), rgb(90, 127, 220).

Aa

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

About this color

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

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

Values

HEX#5A7FDC
RGBrgb(90, 127, 220)
HSLhsl(223, 65%, 61%)
OKLCHoklch(61.4% 0.147 265.9)

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 #5A7FDC 3.81:1 AA large text Lc -70.9 Content text, not long reading
Black text on #5A7FDC 5.50:1 AA Lc 38.6 Non-text elements, placeholder text
#5A7FDC text on white 3.81:1 AA large text Lc 65.4 Content text, not long reading
#5A7FDC text on black 5.50:1 AA Lc -36.2 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

    #E3EAF8

    oklch(93.6% 0.02 264.5)

  3. Step 200

    200

    #CDD9F4

    oklch(88.5% 0.039 266.5)

  4. Step 300

    300

    #ABC0F0

    oklch(80.9% 0.072 266.3)

  5. Step 400

    400

    #7F9EE9

    oklch(70.7% 0.116 266.4)

  6. Step 500

    500 (this color)

    #5A7FDC

    oklch(61.4% 0.147 265.9)

  7. Step 600

    600

    #466CD0

    oklch(55.6% 0.16 265.8)

  8. Step 700

    700

    #3859B4

    oklch(49% 0.149 266)

  9. Step 800

    800

    #2F4A92

    oklch(42.8% 0.123 265.9)

  10. Step 900

    900

    #293E74

    oklch(37.6% 0.096 266)

  11. Step 950

    950

    #182544

    oklch(27% 0.061 265.4)

Export this scale for Tailwind in the Tailwind colors tool

#5A7FDC 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)#5689E00.026
Deuteranopia (no green cones)#447DDA0.024
Tritanopia (no blue cones)#0094A30.129
Achromatopsia (no color)#8383830.147

Harmonies

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

Complementary

The opposite hue (180°).

  • #5A7FDC

    #5A7FDC

    oklch(61.4% 0.147 265.9)

  • #A67D00

    #A67D00

    oklch(61.3% 0.126 85.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5A7FDC

    #5A7FDC

    oklch(61.4% 0.147 265.9)

  • #008FC8

    #008FC8

    oklch(61.4% 0.132 235.7)

  • #8D6FD2

    #8D6FD2

    oklch(61.4% 0.147 295.7)

Open the analogous palette in the generator

Split complementary

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

  • #5A7FDC

    #5A7FDC

    oklch(61.4% 0.147 265.9)

  • #C5680B

    #C5680B

    oklch(61.4% 0.147 55.8)

  • #818E00

    #818E00

    oklch(61.5% 0.141 116.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5A7FDC

    #5A7FDC

    oklch(61.4% 0.147 265.9)

  • #CE5B54

    #CE5B54

    oklch(61.4% 0.148 25.8)

  • #3E9B4A

    #3E9B4A

    oklch(61.4% 0.147 145.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5A7FDC

    #5A7FDC

    oklch(61.4% 0.147 265.9)

  • #C65987

    #C65987

    oklch(61.3% 0.147 355.9)

  • #A67D00

    #A67D00

    oklch(61.3% 0.126 85.4)

  • #009A81

    #009A81

    oklch(61.3% 0.115 175.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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