#5A7CC2

Closest named color: Cool Blue (#4984B8). oklch(59.2% 0.115 263.6), rgb(90, 124, 194).

Aa

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

About this color

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

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

Values

HEX#5A7CC2
RGBrgb(90, 124, 194)
HSLhsl(220, 46%, 56%)
OKLCHoklch(59.2% 0.115 263.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 #5A7CC2 4.12:1 AA large text Lc -73.7 Content text, not long reading
Black text on #5A7CC2 5.09:1 AA Lc 35.9 Non-text elements, placeholder text
#5A7CC2 text on white 4.12:1 AA large text Lc 68.2 Content text, not long reading
#5A7CC2 text on black 5.09:1 AA Lc -33.5 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

    #F3F5FA

    oklch(97% 0.007 268.5)

  2. Step 100

    100

    #E5EAF4

    oklch(93.6% 0.015 264.5)

  3. Step 200

    200

    #CFD9ED

    oklch(88.4% 0.03 264.4)

  4. Step 300

    300

    #B0C1E3

    oklch(80.9% 0.052 264.2)

  5. Step 400

    400

    #86A1D5

    oklch(70.8% 0.082 263.2)

  6. Step 500

    500

    #6888C9

    oklch(63% 0.105 263.7)

  7. Step 600

    600 (this color)

    #5A7CC2

    oklch(59.2% 0.115 263.6)

  8. Step 700

    700

    #415E9D

    oklch(49% 0.107 264.2)

  9. Step 800

    800

    #354D7F

    oklch(42.6% 0.089 263.7)

  10. Step 900

    900

    #2E4166

    oklch(37.7% 0.068 262.8)

  11. Step 950

    950

    #1B263C

    oklch(27% 0.044 263.4)

Export this scale for Tailwind in the Tailwind colors tool

#5A7CC2 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)#6082C50.019
Deuteranopia (no green cones)#5479C00.012
Tritanopia (no blue cones)#238B960.102
Achromatopsia (no color)#7D7D7D0.115

Harmonies

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

Complementary

The opposite hue (180°).

  • #5A7CC2

    #5A7CC2

    oklch(59.2% 0.115 263.6)

  • #9E7717

    #9E7717

    oklch(59.2% 0.115 83.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5A7CC2

    #5A7CC2

    oklch(59.2% 0.115 263.6)

  • #1E88B7

    #1E88B7

    oklch(59.2% 0.115 233.7)

  • #826FBB

    #826FBB

    oklch(59.2% 0.115 294.1)

Open the analogous palette in the generator

Split complementary

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

  • #5A7CC2

    #5A7CC2

    oklch(59.2% 0.115 263.6)

  • #B26935

    #B26935

    oklch(59.2% 0.115 53.8)

  • #7E8528

    #7E8528

    oklch(59.3% 0.115 113.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5A7CC2

    #5A7CC2

    oklch(59.2% 0.115 263.6)

  • #B8605C

    #B8605C

    oklch(59.2% 0.114 23.8)

  • #518F50

    #518F50

    oklch(59.2% 0.113 143.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5A7CC2

    #5A7CC2

    oklch(59.2% 0.115 263.6)

  • #B15F83

    #B15F83

    oklch(59.1% 0.114 353.4)

  • #9E7717

    #9E7717

    oklch(59.2% 0.115 83.9)

  • #009378

    #009378

    oklch(59.2% 0.113 173.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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