#5A66E3

Closest named color: Royal Blue (#4169E1). oklch(56.9% 0.188 274.6), rgb(90, 102, 227).

Aa

White text reads best on this color (4.72:1).

About this color

#5A66E3 is a medium-dark, vivid blue. In OKLCH its lightness is 57%, its chroma 0.188 and its hue 275°. Its hue sits on the cool side of the wheel. The nearest named color is Royal Blue (#4169E1), ΔE 0.029 away. White text reads best on it, at 4.72:1.

Hue familyBlues
Lightnessmedium-dark (57%)
Chromavivid (0.188)
Temperaturecool
Nearest nameRoyal Blue (#4169E1)
Black text4.44:1
White text4.72:1

Values

HEX#5A66E3
RGBrgb(90, 102, 227)
HSLhsl(235, 71%, 62%)
OKLCHoklch(56.9% 0.188 274.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 #5A66E3 4.72:1 AA Lc -77.9 Fine for body text
Black text on #5A66E3 4.44:1 AA large text Lc 31.6 Non-text elements, placeholder text
#5A66E3 text on white 4.72:1 AA Lc 72.4 Content text, not long reading
#5A66E3 text on black 4.44:1 AA large text Lc -29.2 Dividers and decoration only

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

    #F3F5FD

    oklch(97.1% 0.011 274.9)

  2. Step 100

    100

    #E5E9FB

    oklch(93.6% 0.025 275.9)

  3. Step 200

    200

    #CFD7F9

    oklch(88.4% 0.048 274.9)

  4. Step 300

    300

    #B0BDF8

    oklch(80.9% 0.085 274.7)

  5. Step 400

    400

    #8899F4

    oklch(70.8% 0.134 274.4)

  6. Step 500

    500

    #6D7CF0

    oklch(63.1% 0.173 274.8)

  7. Step 600

    600 (this color)

    #5A66E3

    oklch(56.9% 0.188 274.6)

  8. Step 700

    700

    #4750C1

    oklch(49.1% 0.174 274.5)

  9. Step 800

    800

    #3A429C

    oklch(42.6% 0.145 274.6)

  10. Step 900

    900

    #31397C

    oklch(37.6% 0.113 274.5)

  11. Step 950

    950

    #1D2249

    oklch(27% 0.072 275)

Export this scale for Tailwind in the Tailwind colors tool

#5A66E3 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)#0079E70.067
Deuteranopia (no green cones)#006DE00.062
Tritanopia (no blue cones)#00849B0.161
Achromatopsia (no color)#7373730.188

Harmonies

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

Complementary

The opposite hue (180°).

  • #5A66E3

    #5A66E3

    oklch(56.9% 0.188 274.6)

  • #8D7500

    #8D7500

    oklch(56.8% 0.117 94.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5A66E3

    #5A66E3

    oklch(56.9% 0.188 274.6)

  • #007DC4

    #007DC4

    oklch(56.9% 0.142 244.6)

  • #9151CE

    #9151CE

    oklch(56.8% 0.188 304.7)

Open the analogous palette in the generator

Split complementary

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

  • #5A66E3

    #5A66E3

    oklch(56.9% 0.188 274.6)

  • #AA6400

    #AA6400

    oklch(56.9% 0.128 64.4)

  • #658400

    #658400

    oklch(56.8% 0.142 124.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5A66E3

    #5A66E3

    oklch(56.9% 0.188 274.6)

  • #CE3D17

    #CE3D17

    oklch(57% 0.188 34.7)

  • #008E4F

    #008E4F

    oklch(56.8% 0.142 154.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5A66E3

    #5A66E3

    oklch(56.9% 0.188 274.6)

  • #CA3569

    #CA3569

    oklch(56.9% 0.188 4.5)

  • #8D7500

    #8D7500

    oklch(56.8% 0.117 94.6)

  • #008A7E

    #008A7E

    oklch(56.9% 0.101 184.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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