#5872E0

Closest named color: Royal Blue (#4169E1). oklch(58.9% 0.169 270.5), rgb(88, 114, 224).

Aa

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

About this color

#5872E0 is a medium-dark, vivid blue. In OKLCH its lightness is 59%, its chroma 0.169 and its hue 270°. Its hue sits on the cool side of the wheel. The nearest named color is Royal Blue (#4169E1), ΔE 0.037 away. Black text reads best on it, at 4.89:1.

Hue familyBlues
Lightnessmedium-dark (59%)
Chromavivid (0.169)
Temperaturecool
Nearest nameRoyal Blue (#4169E1)
Black text4.89:1
White text4.28:1

Values

HEX#5872E0
RGBrgb(88, 114, 224)
HSLhsl(229, 69%, 61%)
OKLCHoklch(58.9% 0.169 270.5)

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 #5872E0 4.28:1 AA large text Lc -74.9 Content text, not long reading
Black text on #5872E0 4.89:1 AA Lc 34.7 Non-text elements, placeholder text
#5872E0 text on white 4.28:1 AA large text Lc 69.4 Content text, not long reading
#5872E0 text on black 4.89:1 AA Lc -32.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 600.

  1. Step 50

    50

    #F3F5FD

    oklch(97.1% 0.011 274.9)

  2. Step 100

    100

    #E4EAF9

    oklch(93.7% 0.021 268.4)

  3. Step 200

    200

    #CED8F6

    oklch(88.4% 0.043 270.9)

  4. Step 300

    300

    #AEBFF3

    oklch(81% 0.076 270.6)

  5. Step 400

    400

    #849CED

    oklch(70.8% 0.122 270.5)

  6. Step 500

    500

    #6681E7

    oklch(63.1% 0.156 270.3)

  7. Step 600

    600 (this color)

    #5872E0

    oklch(58.9% 0.169 270.5)

  8. Step 700

    700

    #4056B8

    oklch(49.1% 0.156 270.2)

  9. Step 800

    800

    #354795

    oklch(42.8% 0.129 270.3)

  10. Step 900

    900

    #2E3C77

    oklch(37.7% 0.102 270.8)

  11. Step 950

    950

    #1B2446

    oklch(27.1% 0.064 270.5)

Export this scale for Tailwind in the Tailwind colors tool

#5872E0 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)#3880E40.042
Deuteranopia (no green cones)#1B74DE0.049
Tritanopia (no blue cones)#008B9E0.146
Achromatopsia (no color)#7A7A7A0.169

Harmonies

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

Complementary

The opposite hue (180°).

  • #5872E0

    #5872E0

    oklch(58.9% 0.169 270.5)

  • #987900

    #987900

    oklch(58.9% 0.12 90.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5872E0

    #5872E0

    oklch(58.9% 0.169 270.5)

  • #0085C5

    #0085C5

    oklch(58.9% 0.136 240.5)

  • #8E5FD0

    #8E5FD0

    oklch(58.7% 0.169 300.5)

Open the analogous palette in the generator

Split complementary

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

  • #5872E0

    #5872E0

    oklch(58.9% 0.169 270.5)

  • #B66600

    #B66600

    oklch(58.9% 0.137 60.7)

  • #728800

    #728800

    oklch(58.8% 0.14 120.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5872E0

    #5872E0

    oklch(58.9% 0.169 270.5)

  • #CE4B39

    #CE4B39

    oklch(58.9% 0.169 30.6)

  • #009646

    #009646

    oklch(58.9% 0.16 150.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5872E0

    #5872E0

    oklch(58.9% 0.169 270.5)

  • #C84778

    #C84778

    oklch(58.8% 0.169 0.3)

  • #987900

    #987900

    oklch(58.9% 0.12 90.7)

  • #009180

    #009180

    oklch(58.9% 0.106 180.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #5872E0 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.