#5A66DE

Closest named color: Dark Periwinkle (#665FD1). oklch(56.6% 0.181 274.7), rgb(90, 102, 222).

Aa

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

About this color

#5A66DE is a medium-dark, vivid blue. In OKLCH its lightness is 57%, its chroma 0.181 and its hue 275°. Its hue sits on the cool side of the wheel. The nearest named color is Dark Periwinkle (#665FD1), ΔE 0.028 away. White text reads best on it, at 4.78:1.

Hue familyBlues
Lightnessmedium-dark (57%)
Chromavivid (0.181)
Temperaturecool
Nearest nameDark Periwinkle (#665FD1)
Black text4.39:1
White text4.78:1

Values

HEX#5A66DE
RGBrgb(90, 102, 222)
HSLhsl(235, 67%, 61%)
OKLCHoklch(56.6% 0.181 274.7)

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 #5A66DE 4.78:1 AA Lc -78.3 Fine for body text
Black text on #5A66DE 4.39:1 AA large text Lc 31.2 Non-text elements, placeholder text
#5A66DE text on white 4.78:1 AA Lc 72.9 Content text, not long reading
#5A66DE text on black 4.39:1 AA large text Lc -28.8 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

    #E5E9FA

    oklch(93.6% 0.023 275.4)

  3. Step 200

    200

    #D0D8F8

    oklch(88.6% 0.045 274.4)

  4. Step 300

    300

    #B1BDF6

    oklch(80.9% 0.082 275.2)

  5. Step 400

    400

    #8999F1

    oklch(70.7% 0.13 274.8)

  6. Step 500

    500

    #6E7DEC

    oklch(63.1% 0.166 274.8)

  7. Step 600

    600 (this color)

    #5A66DE

    oklch(56.6% 0.181 274.7)

  8. Step 700

    700

    #4851BE

    oklch(49.1% 0.169 274.7)

  9. Step 800

    800

    #3B439A

    oklch(42.7% 0.14 274.8)

  10. Step 900

    900

    #323A7A

    oklch(37.8% 0.108 274.7)

  11. Step 950

    950

    #1D2247

    oklch(26.9% 0.068 275)

Export this scale for Tailwind in the Tailwind colors tool

#5A66DE 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)#1178E20.064
Deuteranopia (no green cones)#006DDC0.062
Tritanopia (no blue cones)#0082980.157
Achromatopsia (no color)#7272720.182

Harmonies

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

Complementary

The opposite hue (180°).

  • #5A66DE

    #5A66DE

    oklch(56.6% 0.181 274.7)

  • #8C7400

    #8C7400

    oklch(56.5% 0.116 94.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5A66DE

    #5A66DE

    oklch(56.6% 0.181 274.7)

  • #007CC3

    #007CC3

    oklch(56.6% 0.142 244.8)

  • #8F52CA

    #8F52CA

    oklch(56.5% 0.182 304.7)

Open the analogous palette in the generator

Split complementary

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

  • #5A66DE

    #5A66DE

    oklch(56.6% 0.181 274.7)

  • #A86300

    #A86300

    oklch(56.5% 0.127 64.6)

  • #648300

    #648300

    oklch(56.5% 0.141 124.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5A66DE

    #5A66DE

    oklch(56.6% 0.181 274.7)

  • #CA3F1C

    #CA3F1C

    oklch(56.5% 0.181 34.7)

  • #008D4F

    #008D4F

    oklch(56.5% 0.14 154.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5A66DE

    #5A66DE

    oklch(56.6% 0.181 274.7)

  • #C63868

    #C63868

    oklch(56.4% 0.181 4.7)

  • #8C7400

    #8C7400

    oklch(56.5% 0.116 94.5)

  • #00897D

    #00897D

    oklch(56.6% 0.1 184.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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