#5A7EC2

Closest named color: Cool Blue (#4984B8). oklch(59.6% 0.112 262.3), rgb(90, 126, 194).

Aa

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

About this color

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

Hue familyBlues
Lightnessmedium-dark (60%)
Chromamoderately saturated (0.112)
Temperaturecool
Nearest nameCool Blue (#4984B8)
Black text5.19:1
White text4.03:1

Values

HEX#5A7EC2
RGBrgb(90, 126, 194)
HSLhsl(219, 46%, 56%)
OKLCHoklch(59.6% 0.112 262.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 #5A7EC2 4.03:1 AA large text Lc -73.0 Content text, not long reading
Black text on #5A7EC2 5.19:1 AA Lc 36.6 Non-text elements, placeholder text
#5A7EC2 text on white 4.03:1 AA large text Lc 67.5 Content text, not long reading
#5A7EC2 text on black 5.19:1 AA Lc -34.1 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

    #F3F6FB

    oklch(97.2% 0.007 260.7)

  2. Step 100

    100

    #E4EAF5

    oklch(93.6% 0.016 262.8)

  3. Step 200

    200

    #CEDAEE

    oklch(88.5% 0.03 260.7)

  4. Step 300

    300

    #AEC1E5

    oklch(80.9% 0.055 263.2)

  5. Step 400

    400

    #83A1D8

    oklch(70.7% 0.088 262.2)

  6. Step 500

    500 (this color)

    #5A7EC2

    oklch(59.6% 0.112 262.3)

  7. Step 600

    600

    #4B71BA

    oklch(55.5% 0.122 262.3)

  8. Step 700

    700

    #3C5FA1

    oklch(49.2% 0.114 262)

  9. Step 800

    800

    #324D82

    oklch(42.6% 0.094 262.7)

  10. Step 900

    900

    #2C4168

    oklch(37.7% 0.072 262)

  11. Step 950

    950

    #1A263D

    oklch(27% 0.046 262.7)

Export this scale for Tailwind in the Tailwind colors tool

#5A7EC2 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)#6384C50.021
Deuteranopia (no green cones)#567AC10.013
Tritanopia (no blue cones)#228D970.101
Achromatopsia (no color)#7E7E7E0.112

Harmonies

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

Complementary

The opposite hue (180°).

  • #5A7EC2

    #5A7EC2

    oklch(59.6% 0.112 262.3)

  • #A0781E

    #A0781E

    oklch(59.7% 0.113 82.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5A7EC2

    #5A7EC2

    oklch(59.6% 0.112 262.3)

  • #218AB6

    #218AB6

    oklch(59.7% 0.112 231.9)

  • #8172BC

    #8172BC

    oklch(59.7% 0.111 292)

Open the analogous palette in the generator

Split complementary

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

  • #5A7EC2

    #5A7EC2

    oklch(59.6% 0.112 262.3)

  • #B36A3A

    #B36A3A

    oklch(59.6% 0.113 52.2)

  • #81862B

    #81862B

    oklch(59.8% 0.113 112.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5A7EC2

    #5A7EC2

    oklch(59.6% 0.112 262.3)

  • #B96260

    #B96260

    oklch(59.7% 0.113 22.4)

  • #559050

    #559050

    oklch(59.7% 0.113 142.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5A7EC2

    #5A7EC2

    oklch(59.6% 0.112 262.3)

  • #B16186

    #B16186

    oklch(59.6% 0.112 351.9)

  • #A0781E

    #A0781E

    oklch(59.7% 0.113 82.7)

  • #109478

    #109478

    oklch(59.5% 0.112 172.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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