#5870F3

Closest named color: Cornflower (#6A79F7). oklch(59.8% 0.197 271.4), rgb(88, 112, 243).

Aa

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

About this color

#5870F3 is a medium-dark, vivid blue. In OKLCH its lightness is 60%, its chroma 0.197 and its hue 271°. Its hue sits on the cool side of the wheel. The nearest named color is Cornflower (#6A79F7), ΔE 0.034 away. Black text reads best on it, at 5.02:1.

Hue familyBlues
Lightnessmedium-dark (60%)
Chromavivid (0.197)
Temperaturecool
Nearest nameCornflower (#6A79F7)
Black text5.02:1
White text4.17:1

Values

HEX#5870F3
RGBrgb(88, 112, 243)
HSLhsl(231, 87%, 65%)
OKLCHoklch(59.8% 0.197 271.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 #5870F3 4.17:1 AA large text Lc -73.9 Content text, not long reading
Black text on #5870F3 5.02:1 AA Lc 35.7 Non-text elements, placeholder text
#5870F3 text on white 4.17:1 AA large text Lc 68.4 Content text, not long reading
#5870F3 text on black 5.02:1 AA Lc -33.3 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 500.

  1. Step 50

    50

    #F2F5FE

    oklch(97% 0.012 271.3)

  2. Step 100

    100

    #E3E9FD

    oklch(93.5% 0.028 272.5)

  3. Step 200

    200

    #CCD8FE

    oklch(88.5% 0.054 271.5)

  4. Step 300

    300

    #AABEFF

    oklch(81% 0.095 271)

  5. Step 400

    400

    #7F99FF

    oklch(70.8% 0.152 271.3)

  6. Step 500

    500 (this color)

    #5870F3

    oklch(59.8% 0.197 271.4)

  7. Step 600

    600

    #4B5FEE

    oklch(55.6% 0.214 271.4)

  8. Step 700

    700

    #3D4DCF

    oklch(49.1% 0.199 271.4)

  9. Step 800

    800

    #3240A7

    oklch(42.6% 0.165 271.5)

  10. Step 900

    900

    #2B3885

    oklch(37.7% 0.129 271.5)

  11. Step 950

    950

    #19224E

    oklch(27.1% 0.081 271.3)

Export this scale for Tailwind in the Tailwind colors tool

#5870F3 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)#0683F80.061
Deuteranopia (no green cones)#0075F00.054
Tritanopia (no blue cones)#008FA70.164
Achromatopsia (no color)#7C7C7C0.197

Harmonies

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

Complementary

The opposite hue (180°).

  • #5870F3

    #5870F3

    oklch(59.8% 0.197 271.4)

  • #9B7C00

    #9B7C00

    oklch(59.9% 0.122 91.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5870F3

    #5870F3

    oklch(59.8% 0.197 271.4)

  • #0088CB

    #0088CB

    oklch(59.9% 0.14 241.2)

  • #965AE0

    #965AE0

    oklch(59.8% 0.197 301.3)

Open the analogous palette in the generator

Split complementary

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

  • #5870F3

    #5870F3

    oklch(59.8% 0.197 271.4)

  • #B96900

    #B96900

    oklch(59.9% 0.138 61.5)

  • #738C00

    #738C00

    oklch(59.9% 0.144 121.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5870F3

    #5870F3

    oklch(59.8% 0.197 271.4)

  • #DC4029

    #DC4029

    oklch(59.8% 0.196 31.4)

  • #00994B

    #00994B

    oklch(59.8% 0.159 151.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5870F3

    #5870F3

    oklch(59.8% 0.197 271.4)

  • #D63A78

    #D63A78

    oklch(59.7% 0.197 1.2)

  • #9B7C00

    #9B7C00

    oklch(59.9% 0.122 91.2)

  • #009484

    #009484

    oklch(59.8% 0.107 181.7)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #5870F3.

Similar named colors

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

Use #5870F3 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.