#5A6BC2

Closest named color: Dark Periwinkle (#665FD1). oklch(55.6% 0.136 272.9), rgb(90, 107, 194).

Aa

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

About this color

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

Hue familyBlues
Lightnessmedium-dark (56%)
Chromamoderately saturated (0.136)
Temperaturecool
Nearest nameDark Periwinkle (#665FD1)
Black text4.31:1
White text4.86:1

Values

HEX#5A6BC2
RGBrgb(90, 107, 194)
HSLhsl(230, 46%, 56%)
OKLCHoklch(55.6% 0.136 272.9)

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 #5A6BC2 4.86:1 AA Lc -79.0 Fine for body text
Black text on #5A6BC2 4.31:1 AA large text Lc 30.5 Non-text elements, placeholder text
#5A6BC2 text on white 4.86:1 AA Lc 73.5 Content text, not long reading
#5A6BC2 text on black 4.31:1 AA large text Lc -28.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

    #F3F5FB

    oklch(97% 0.008 271.3)

  2. Step 100

    100

    #E6E9F6

    oklch(93.6% 0.018 275.6)

  3. Step 200

    200

    #D1D8F0

    oklch(88.4% 0.034 272.8)

  4. Step 300

    300

    #B3BFE9

    oklch(81% 0.061 272.5)

  5. Step 400

    400

    #8C9DDE

    oklch(70.8% 0.097 272.5)

  6. Step 500

    500

    #7183D5

    oklch(63.2% 0.125 273)

  7. Step 600

    600 (this color)

    #5A6BC2

    oklch(55.6% 0.136 272.9)

  8. Step 700

    700

    #4A59A7

    oklch(49.1% 0.125 272.8)

  9. Step 800

    800

    #3D4988

    oklch(42.8% 0.105 273.1)

  10. Step 900

    900

    #343D6D

    oklch(37.7% 0.083 273.8)

  11. Step 950

    950

    #1E2440

    oklch(27% 0.053 273.2)

Export this scale for Tailwind in the Tailwind colors tool

#5A6BC2 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)#4576C50.034
Deuteranopia (no green cones)#396DC00.036
Tritanopia (no blue cones)#277E8D0.121
Achromatopsia (no color)#7171710.136

Harmonies

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

Complementary

The opposite hue (180°).

  • #5A6BC2

    #5A6BC2

    oklch(55.6% 0.136 272.9)

  • #8B7100

    #8B7100

    oklch(55.8% 0.114 92.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5A6BC2

    #5A6BC2

    oklch(55.6% 0.136 272.9)

  • #007ABB

    #007ABB

    oklch(55.7% 0.134 242.9)

  • #845DB4

    #845DB4

    oklch(55.7% 0.135 303)

Open the analogous palette in the generator

Split complementary

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

  • #5A6BC2

    #5A6BC2

    oklch(55.6% 0.136 272.9)

  • #A66000

    #A66000

    oklch(55.7% 0.127 63.3)

  • #657F02

    #657F02

    oklch(55.6% 0.135 122.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5A6BC2

    #5A6BC2

    oklch(55.6% 0.136 272.9)

  • #B5503C

    #B5503C

    oklch(55.7% 0.136 32.9)

  • #17894B

    #17894B

    oklch(55.5% 0.135 153.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5A6BC2

    #5A6BC2

    oklch(55.6% 0.136 272.9)

  • #B24C6C

    #B24C6C

    oklch(55.7% 0.136 2.9)

  • #8B7100

    #8B7100

    oklch(55.8% 0.114 92.8)

  • #008679

    #008679

    oklch(55.7% 0.099 183.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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