#5873FE

Closest named color: Cornflower (#6A79F7). oklch(61.2% 0.208 270.7), rgb(88, 115, 254).

Aa

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

About this color

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

Hue familyBlues
Lightnessmedium-dark (61%)
Chromavivid (0.208)
Temperaturecool
Nearest nameCornflower (#6A79F7)
Black text5.29:1
White text3.96:1

Values

HEX#5873FE
RGBrgb(88, 115, 254)
HSLhsl(230, 99%, 67%)
OKLCHoklch(61.2% 0.208 270.7)

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 #5873FE 3.96:1 AA large text Lc -72.1 Content text, not long reading
Black text on #5873FE 5.29:1 AA Lc 37.5 Non-text elements, placeholder text
#5873FE text on white 3.96:1 AA large text Lc 66.6 Content text, not long reading
#5873FE text on black 5.29:1 AA Lc -35.1 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

    #CBD8FF

    oklch(88.5% 0.056 270.7)

  4. Step 300

    300

    #A9BEFF

    oklch(80.9% 0.095 270.4)

  5. Step 400

    400

    #7D99FF

    oklch(70.7% 0.152 270.5)

  6. Step 500

    500 (this color)

    #5873FE

    oklch(61.2% 0.208 270.7)

  7. Step 600

    600

    #475DF4

    oklch(55.6% 0.225 270.7)

  8. Step 700

    700

    #3A4BD5

    oklch(49.1% 0.21 270.8)

  9. Step 800

    800

    #2F3FAC

    oklch(42.7% 0.174 270.6)

  10. Step 900

    900

    #293788

    oklch(37.7% 0.136 271)

  11. Step 950

    950

    #172150

    oklch(26.9% 0.087 270.5)

Export this scale for Tailwind in the Tailwind colors tool

#5873FE 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)#0088FF0.063
Deuteranopia (no green cones)#0079FB0.052
Tritanopia (no blue cones)#0094AD0.171
Achromatopsia (no color)#8080800.208

Harmonies

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

Complementary

The opposite hue (180°).

  • #5873FE

    #5873FE

    oklch(61.2% 0.208 270.7)

  • #A08000

    #A08000

    oklch(61.3% 0.125 91.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5873FE

    #5873FE

    oklch(61.2% 0.208 270.7)

  • #008CD0

    #008CD0

    oklch(61.2% 0.142 240.9)

  • #9A5BEA

    #9A5BEA

    oklch(61.1% 0.208 300.7)

Open the analogous palette in the generator

Split complementary

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

  • #5873FE

    #5873FE

    oklch(61.2% 0.208 270.7)

  • #BF6C00

    #BF6C00

    oklch(61.2% 0.142 61.2)

  • #789000

    #789000

    oklch(61.3% 0.147 120.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5873FE

    #5873FE

    oklch(61.2% 0.208 270.7)

  • #E63D28

    #E63D28

    oklch(61.2% 0.209 30.7)

  • #009E4B

    #009E4B

    oklch(61.2% 0.166 150.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5873FE

    #5873FE

    oklch(61.2% 0.208 270.7)

  • #DF387D

    #DF387D

    oklch(61.2% 0.208 0.7)

  • #A08000

    #A08000

    oklch(61.3% 0.125 91.1)

  • #009987

    #009987

    oklch(61.2% 0.111 180.6)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #5873FE.

Similar named colors

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

Use #5873FE 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.