#5A6BCA

Closest named color: Dark Periwinkle (#665FD1). oklch(56.1% 0.147 273.1), rgb(90, 107, 202).

Aa

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

About this color

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

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

Values

HEX#5A6BCA
RGBrgb(90, 107, 202)
HSLhsl(231, 51%, 57%)
OKLCHoklch(56.1% 0.147 273.1)

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 #5A6BCA 4.78:1 AA Lc -78.4 Fine for body text
Black text on #5A6BCA 4.39:1 AA large text Lc 31.1 Non-text elements, placeholder text
#5A6BCA text on white 4.78:1 AA Lc 73.0 Content text, not long reading
#5A6BCA text on black 4.39:1 AA large text Lc -28.7 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

    #F3F5FC

    oklch(97.1% 0.01 273.4)

  2. Step 100

    100

    #E5E9F7

    oklch(93.5% 0.019 273.2)

  3. Step 200

    200

    #D1D8F2

    oklch(88.5% 0.037 273.7)

  4. Step 300

    300

    #B2BEEC

    oklch(80.8% 0.066 273.4)

  5. Step 400

    400

    #8B9CE3

    oklch(70.8% 0.106 273.1)

  6. Step 500

    500

    #6F82DB

    oklch(63.2% 0.135 272.9)

  7. Step 600

    600 (this color)

    #5A6BCA

    oklch(56.1% 0.147 273.1)

  8. Step 700

    700

    #4957AD

    oklch(49.1% 0.137 273.4)

  9. Step 800

    800

    #3C488C

    oklch(42.8% 0.113 273.2)

  10. Step 900

    900

    #333D70

    oklch(37.8% 0.088 273.2)

  11. Step 950

    950

    #1E2442

    oklch(27.1% 0.056 273.5)

Export this scale for Tailwind in the Tailwind colors tool

#5A6BCA 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)#3F77CE0.039
Deuteranopia (no green cones)#306EC80.043
Tritanopia (no blue cones)#1C80910.130
Achromatopsia (no color)#7272720.147

Harmonies

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

Complementary

The opposite hue (180°).

  • #5A6BCA

    #5A6BCA

    oklch(56.1% 0.147 273.1)

  • #8C7200

    #8C7200

    oklch(56.1% 0.115 92.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5A6BCA

    #5A6BCA

    oklch(56.1% 0.147 273.1)

  • #007BBE

    #007BBE

    oklch(56.1% 0.137 243.5)

  • #875BBB

    #875BBB

    oklch(56.1% 0.148 303.1)

Open the analogous palette in the generator

Split complementary

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

  • #5A6BCA

    #5A6BCA

    oklch(56.1% 0.147 273.1)

  • #A86100

    #A86100

    oklch(56.1% 0.128 63.1)

  • #668100

    #668100

    oklch(56.2% 0.138 123)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5A6BCA

    #5A6BCA

    oklch(56.1% 0.147 273.1)

  • #BB4D37

    #BB4D37

    oklch(56.1% 0.147 33.1)

  • #008C4A

    #008C4A

    oklch(56.1% 0.144 153.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5A6BCA

    #5A6BCA

    oklch(56.1% 0.147 273.1)

  • #B8496C

    #B8496C

    oklch(56.2% 0.147 3.4)

  • #8C7200

    #8C7200

    oklch(56.1% 0.115 92.9)

  • #00887A

    #00887A

    oklch(56.2% 0.101 182.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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