#5876FB

Closest named color: Cornflower (#6A79F7). oklch(61.5% 0.2 270), rgb(88, 118, 251).

Aa

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

About this color

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

Hue familyBlues
Lightnessmedium-dark (62%)
Chromavivid (0.200)
Temperaturecool
Nearest nameCornflower (#6A79F7)
Black text5.39:1
White text3.88:1

Values

HEX#5876FB
RGBrgb(88, 118, 251)
HSLhsl(229, 95%, 66%)
OKLCHoklch(61.5% 0.2 270)

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 #5876FB 3.88:1 AA large text Lc -71.4 Content text, not long reading
Black text on #5876FB 5.39:1 AA Lc 38.1 Non-text elements, placeholder text
#5876FB text on white 3.88:1 AA large text Lc 65.9 Content text, not long reading
#5876FB text on black 5.39:1 AA Lc -35.7 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

    #F2F5FF

    oklch(97.1% 0.014 272.7)

  2. Step 100

    100

    #E2E9FE

    oklch(93.5% 0.029 271.1)

  3. Step 200

    200

    #CBD8FE

    oklch(88.5% 0.054 270.4)

  4. Step 300

    300

    #A8BEFF

    oklch(80.9% 0.096 269.8)

  5. Step 400

    400

    #7C99FF

    oklch(70.6% 0.153 270.2)

  6. Step 500

    500 (this color)

    #5876FB

    oklch(61.5% 0.2 270)

  7. Step 600

    600

    #465FF0

    oklch(55.5% 0.218 270.1)

  8. Step 700

    700

    #384DD1

    oklch(49% 0.203 270)

  9. Step 800

    800

    #2E41A9

    oklch(42.8% 0.167 269.8)

  10. Step 900

    900

    #283886

    oklch(37.7% 0.132 270.1)

  11. Step 950

    950

    #17224E

    oklch(27% 0.082 269.6)

Export this scale for Tailwind in the Tailwind colors tool

#5876FB 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)#1689FF0.057
Deuteranopia (no green cones)#007AF80.051
Tritanopia (no blue cones)#0096AD0.167
Achromatopsia (no color)#8181810.201

Harmonies

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

Complementary

The opposite hue (180°).

  • #5876FB

    #5876FB

    oklch(61.5% 0.2 270)

  • #A28000

    #A28000

    oklch(61.5% 0.126 89.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5876FB

    #5876FB

    oklch(61.5% 0.2 270)

  • #008ED0

    #008ED0

    oklch(61.6% 0.141 239.7)

  • #995FE9

    #995FE9

    oklch(61.5% 0.201 299.9)

Open the analogous palette in the generator

Split complementary

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

  • #5876FB

    #5876FB

    oklch(61.5% 0.2 270)

  • #C26C00

    #C26C00

    oklch(61.6% 0.144 60.1)

  • #7A9000

    #7A9000

    oklch(61.4% 0.146 119.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5876FB

    #5876FB

    oklch(61.5% 0.2 270)

  • #E44332

    #E44332

    oklch(61.5% 0.2 29.9)

  • #009F48

    #009F48

    oklch(61.4% 0.169 149.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5876FB

    #5876FB

    oklch(61.5% 0.2 270)

  • #DD3F80

    #DD3F80

    oklch(61.6% 0.2 360)

  • #A28000

    #A28000

    oklch(61.5% 0.126 89.9)

  • #009A87

    #009A87

    oklch(61.5% 0.112 179.9)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #5876FB.

Similar named colors

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

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