#5A70DF

Closest named color: Royal Blue (#4169E1). oklch(58.5% 0.17 271.8), rgb(90, 112, 223).

Aa

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

About this color

#5A70DF is a medium-dark, vivid blue. In OKLCH its lightness is 59%, 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.036 away. Black text reads best on it, at 4.81:1.

Hue familyBlues
Lightnessmedium-dark (59%)
Chromavivid (0.170)
Temperaturecool
Nearest nameRoyal Blue (#4169E1)
Black text4.81:1
White text4.35:1

Values

HEX#5A70DF
RGBrgb(90, 112, 223)
HSLhsl(230, 68%, 61%)
OKLCHoklch(58.5% 0.17 271.8)

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 #5A70DF 4.35:1 AA large text Lc -75.4 Fine for body text
Black text on #5A70DF 4.81:1 AA Lc 34.2 Non-text elements, placeholder text
#5A70DF text on white 4.35:1 AA large text Lc 69.9 Content text, not long reading
#5A70DF text on black 4.81:1 AA Lc -31.8 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

    #869BED

    oklch(70.7% 0.123 272)

  6. Step 500

    500

    #6980E7

    oklch(63.1% 0.156 271.8)

  7. Step 600

    600 (this color)

    #5A70DF

    oklch(58.5% 0.17 271.8)

  8. Step 700

    700

    #4355B9

    oklch(49.1% 0.158 271.7)

  9. Step 800

    800

    #374695

    oklch(42.7% 0.13 271.7)

  10. Step 900

    900

    #2F3C77

    oklch(37.8% 0.101 271.4)

  11. Step 950

    950

    #1C2346

    oklch(27% 0.065 272.8)

Export this scale for Tailwind in the Tailwind colors tool

#5A70DF 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)#347FE30.047
Deuteranopia (no green cones)#1773DD0.053
Tritanopia (no blue cones)#00899D0.147
Achromatopsia (no color)#7979790.170

Harmonies

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

Complementary

The opposite hue (180°).

  • #5A70DF

    #5A70DF

    oklch(58.5% 0.17 271.8)

  • #967800

    #967800

    oklch(58.5% 0.12 91.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5A70DF

    #5A70DF

    oklch(58.5% 0.17 271.8)

  • #0083C6

    #0083C6

    oklch(58.5% 0.139 242)

  • #8F5DCE

    #8F5DCE

    oklch(58.4% 0.17 301.8)

Open the analogous palette in the generator

Split complementary

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

  • #5A70DF

    #5A70DF

    oklch(58.5% 0.17 271.8)

  • #B36600

    #B36600

    oklch(58.5% 0.135 61.9)

  • #6F8800

    #6F8800

    oklch(58.6% 0.142 121.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5A70DF

    #5A70DF

    oklch(58.5% 0.17 271.8)

  • #CD4A35

    #CD4A35

    oklch(58.5% 0.17 31.6)

  • #00954A

    #00954A

    oklch(58.6% 0.155 151.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5A70DF

    #5A70DF

    oklch(58.5% 0.17 271.8)

  • #C84674

    #C84674

    oklch(58.6% 0.169 2.1)

  • #967800

    #967800

    oklch(58.5% 0.12 91.2)

  • #009080

    #009080

    oklch(58.6% 0.105 181.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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