#5654D1

Closest named color: Warm Blue (#4B57DB). oklch(52.1% 0.187 278.4), rgb(86, 84, 209).

Aa

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

About this color

#5654D1 is a medium-dark, vivid blue. In OKLCH its lightness is 52%, its chroma 0.187 and its hue 278°. Its hue sits on the cool side of the wheel. The nearest named color is Warm Blue (#4B57DB), ΔE 0.021 away. White text reads best on it, at 5.85:1.

Hue familyBlues
Lightnessmedium-dark (52%)
Chromavivid (0.187)
Temperaturecool
Nearest nameWarm Blue (#4B57DB)
Black text3.58:1
White text5.85:1

Values

HEX#5654D1
RGBrgb(86, 84, 209)
HSLhsl(241, 58%, 57%)
OKLCHoklch(52.1% 0.187 278.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 #5654D1 5.85:1 AA Lc -84.1 Fine for body text
Black text on #5654D1 3.58:1 AA large text Lc 25.2 Dividers and decoration only
#5654D1 text on white 5.85:1 AA Lc 78.9 Fine for body text
#5654D1 text on black 3.58:1 AA large text Lc -22.9 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 700.

  1. Step 50

    50

    #F3F5FE

    oklch(97.1% 0.012 276.1)

  2. Step 100

    100

    #E5E9FC

    oklch(93.7% 0.026 276.4)

  3. Step 200

    200

    #D1D7FB

    oklch(88.6% 0.05 277.9)

  4. Step 300

    300

    #B3BBFB

    oklch(80.9% 0.091 278.6)

  5. Step 400

    400

    #8D95F9

    oklch(70.6% 0.145 278.5)

  6. Step 500

    500

    #7477F6

    oklch(63.1% 0.186 278.6)

  7. Step 600

    600

    #5F5CE5

    oklch(55.6% 0.202 278.6)

  8. Step 700

    700 (this color)

    #5654D1

    oklch(52.1% 0.187 278.4)

  9. Step 800

    800

    #403EA1

    oklch(42.7% 0.156 278.4)

  10. Step 900

    900

    #353680

    oklch(37.6% 0.122 278.2)

  11. Step 950

    950

    #1F214B

    oklch(27.1% 0.076 278)

Export this scale for Tailwind in the Tailwind colors tool

#5654D1 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)#006AD50.074
Deuteranopia (no green cones)#0060CE0.068
Tritanopia (no blue cones)#00728A0.161
Achromatopsia (no color)#6565650.188

Harmonies

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

Complementary

The opposite hue (180°).

  • #5654D1

    #5654D1

    oklch(52.1% 0.187 278.4)

  • #796900

    #796900

    oklch(52% 0.108 98.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5654D1

    #5654D1

    oklch(52.1% 0.187 278.4)

  • #006CB6

    #006CB6

    oklch(52% 0.142 248.6)

  • #8840B9

    #8840B9

    oklch(52.1% 0.187 308.6)

Open the analogous palette in the generator

Split complementary

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

  • #5654D1

    #5654D1

    oklch(52.1% 0.187 278.4)

  • #935A00

    #935A00

    oklch(52% 0.114 68)

  • #517700

    #517700

    oklch(52.1% 0.137 128.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5654D1

    #5654D1

    oklch(52.1% 0.187 278.4)

  • #B53800

    #B53800

    oklch(52.1% 0.17 38.2)

  • #007D4E

    #007D4E

    oklch(52% 0.12 158.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5654D1

    #5654D1

    oklch(52.1% 0.187 278.4)

  • #BA2253

    #BA2253

    oklch(52% 0.187 8.6)

  • #796900

    #796900

    oklch(52% 0.108 98.7)

  • #007973

    #007973

    oklch(51.9% 0.09 188.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #5654D1 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.