#5A6EDD

Closest named color: Royal Blue (#4169E1). oklch(58% 0.17 272.4), rgb(90, 110, 221).

Aa

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

About this color

#5A6EDD is a medium-dark, vivid blue. In OKLCH its lightness is 58%, its chroma 0.170 and its hue 272°. Its hue sits on the cool side of the wheel. The nearest named color is Royal Blue (#4169E1), ΔE 0.033 away. Black text reads best on it, at 4.70:1.

Hue familyBlues
Lightnessmedium-dark (58%)
Chromavivid (0.170)
Temperaturecool
Nearest nameRoyal Blue (#4169E1)
Black text4.70:1
White text4.45:1

Values

HEX#5A6EDD
RGBrgb(90, 110, 221)
HSLhsl(231, 66%, 61%)
OKLCHoklch(58% 0.17 272.4)

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 #5A6EDD 4.45:1 AA large text Lc -76.1 Fine for body text
Black text on #5A6EDD 4.70:1 AA Lc 33.4 Non-text elements, placeholder text
#5A6EDD text on white 4.45:1 AA large text Lc 70.7 Content text, not long reading
#5A6EDD text on black 4.70:1 AA Lc -31.0 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 600.

  1. Step 50

    50

    #F3F5FD

    oklch(97.1% 0.011 274.9)

  2. Step 100

    100

    #E4E9F9

    oklch(93.5% 0.022 272.1)

  3. Step 200

    200

    #CFD8F6

    oklch(88.5% 0.042 272.3)

  4. Step 300

    300

    #AFBEF3

    oklch(80.9% 0.077 272.3)

  5. Step 400

    400

    #879BED

    oklch(70.8% 0.122 272.5)

  6. Step 500

    500

    #6A80E7

    oklch(63.2% 0.156 272.2)

  7. Step 600

    600 (this color)

    #5A6EDD

    oklch(58% 0.17 272.4)

  8. Step 700

    700

    #4455B8

    oklch(49.1% 0.157 272)

  9. Step 800

    800

    #384695

    oklch(42.7% 0.13 272.2)

  10. Step 900

    900

    #303B77

    oklch(37.6% 0.103 272.7)

  11. Step 950

    950

    #1C2346

    oklch(27% 0.065 272.8)

Export this scale for Tailwind in the Tailwind colors tool

#5A6EDD 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)#327DE10.048
Deuteranopia (no green cones)#1472DB0.055
Tritanopia (no blue cones)#00879B0.147
Achromatopsia (no color)#7777770.170

Harmonies

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

Complementary

The opposite hue (180°).

  • #5A6EDD

    #5A6EDD

    oklch(58% 0.17 272.4)

  • #937700

    #937700

    oklch(57.9% 0.119 92.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5A6EDD

    #5A6EDD

    oklch(58% 0.17 272.4)

  • #0081C5

    #0081C5

    oklch(57.9% 0.139 242.8)

  • #8F5CCC

    #8F5CCC

    oklch(58.1% 0.169 302.5)

Open the analogous palette in the generator

Split complementary

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

  • #5A6EDD

    #5A6EDD

    oklch(58% 0.17 272.4)

  • #B06500

    #B06500

    oklch(57.9% 0.133 62.5)

  • #6C8700

    #6C8700

    oklch(58.1% 0.142 122.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5A6EDD

    #5A6EDD

    oklch(58% 0.17 272.4)

  • #CB4932

    #CB4932

    oklch(58.1% 0.17 32.3)

  • #00934B

    #00934B

    oklch(58.1% 0.152 152.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5A6EDD

    #5A6EDD

    oklch(58% 0.17 272.4)

  • #C64472

    #C64472

    oklch(58% 0.169 2.2)

  • #937700

    #937700

    oklch(57.9% 0.119 92.3)

  • #008E7F

    #008E7F

    oklch(58% 0.104 182)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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