#5876EC

Closest named color: Cornflower (#6A79F7). oklch(60.5% 0.18 269.6), rgb(88, 118, 236).

Aa

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

About this color

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

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

Values

HEX#5876EC
RGBrgb(88, 118, 236)
HSLhsl(228, 80%, 64%)
OKLCHoklch(60.5% 0.18 269.6)

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 #5876EC 4.02:1 AA large text Lc -72.7 Content text, not long reading
Black text on #5876EC 5.21:1 AA Lc 36.9 Non-text elements, placeholder text
#5876EC text on white 4.02:1 AA large text Lc 67.2 Content text, not long reading
#5876EC text on black 5.21:1 AA Lc -34.5 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

    #E3EAFC

    oklch(93.7% 0.025 268.8)

  3. Step 200

    200

    #CCD8FB

    oklch(88.4% 0.05 270.4)

  4. Step 300

    300

    #AABFFB

    oklch(81% 0.088 269.4)

  5. Step 400

    400

    #7E9BF8

    oklch(70.8% 0.14 269.5)

  6. Step 500

    500 (this color)

    #5876EC

    oklch(60.5% 0.18 269.6)

  7. Step 600

    600

    #4864E4

    oklch(55.6% 0.196 269.6)

  8. Step 700

    700

    #3A52C6

    oklch(49.1% 0.182 269.5)

  9. Step 800

    800

    #3044A0

    oklch(42.7% 0.151 269.6)

  10. Step 900

    900

    #2A3A7F

    oklch(37.6% 0.118 270)

  11. Step 950

    950

    #18234A

    oklch(27% 0.074 269.2)

Export this scale for Tailwind in the Tailwind colors tool

#5876EC 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)#3386F00.046
Deuteranopia (no green cones)#0278EA0.053
Tritanopia (no blue cones)#0091A60.152
Achromatopsia (no color)#7F7F7F0.181

Harmonies

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

Complementary

The opposite hue (180°).

  • #5876EC

    #5876EC

    oklch(60.5% 0.18 269.6)

  • #9F7D00

    #9F7D00

    oklch(60.5% 0.124 89.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5876EC

    #5876EC

    oklch(60.5% 0.18 269.6)

  • #008ACA

    #008ACA

    oklch(60.3% 0.137 239.6)

  • #9362DC

    #9362DC

    oklch(60.5% 0.18 299.5)

Open the analogous palette in the generator

Split complementary

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

  • #5876EC

    #5876EC

    oklch(60.5% 0.18 269.6)

  • #BE6900

    #BE6900

    oklch(60.5% 0.142 59.6)

  • #788D00

    #788D00

    oklch(60.5% 0.143 119.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5876EC

    #5876EC

    oklch(60.5% 0.18 269.6)

  • #D84A3B

    #D84A3B

    oklch(60.4% 0.181 29.4)

  • #009C45

    #009C45

    oklch(60.5% 0.168 149.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5876EC

    #5876EC

    oklch(60.5% 0.18 269.6)

  • #D2477E

    #D2477E

    oklch(60.6% 0.18 359.7)

  • #9F7D00

    #9F7D00

    oklch(60.5% 0.124 89.5)

  • #009784

    #009784

    oklch(60.6% 0.11 179.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #5876EC 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.