#5871DB

Closest named color: Royal Blue (#4169E1). oklch(58.3% 0.164 270.6), rgb(88, 113, 219).

Aa

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

About this color

#5871DB is a medium-dark, vivid blue. In OKLCH its lightness is 58%, its chroma 0.164 and its hue 271°. Its hue sits on the cool side of the wheel. The nearest named color is Royal Blue (#4169E1), ΔE 0.036 away. Black text reads best on it, at 4.79:1.

Hue familyBlues
Lightnessmedium-dark (58%)
Chromavivid (0.164)
Temperaturecool
Nearest nameRoyal Blue (#4169E1)
Black text4.79:1
White text4.37:1

Values

HEX#5871DB
RGBrgb(88, 113, 219)
HSLhsl(229, 65%, 60%)
OKLCHoklch(58.3% 0.164 270.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 #5871DB 4.37:1 AA large text Lc -75.5 Fine for body text
Black text on #5871DB 4.79:1 AA Lc 34.0 Non-text elements, placeholder text
#5871DB text on white 4.37:1 AA large text Lc 70.1 Content text, not long reading
#5871DB text on black 4.79:1 AA Lc -31.6 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

    #F3F5FC

    oklch(97.1% 0.01 273.4)

  2. Step 100

    100

    #E4E9F9

    oklch(93.5% 0.022 272.1)

  3. Step 200

    200

    #CFD8F5

    oklch(88.4% 0.041 271.9)

  4. Step 300

    300

    #AEBFF1

    oklch(80.9% 0.073 270.1)

  5. Step 400

    400

    #859CEA

    oklch(70.7% 0.117 270.7)

  6. Step 500

    500

    #6881E4

    oklch(63.1% 0.151 270.9)

  7. Step 600

    600 (this color)

    #5871DB

    oklch(58.3% 0.164 270.6)

  8. Step 700

    700

    #4256B6

    oklch(49.1% 0.153 270.9)

  9. Step 800

    800

    #364793

    oklch(42.7% 0.126 270.7)

  10. Step 900

    900

    #2E3C75

    oklch(37.6% 0.099 270.6)

  11. Step 950

    950

    #1B2445

    oklch(27.1% 0.063 270.3)

Export this scale for Tailwind in the Tailwind colors tool

#5871DB 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)#3B7FDF0.041
Deuteranopia (no green cones)#2373D90.046
Tritanopia (no blue cones)#00899B0.143
Achromatopsia (no color)#7979790.164

Harmonies

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

Complementary

The opposite hue (180°).

  • #5871DB

    #5871DB

    oklch(58.3% 0.164 270.6)

  • #967700

    #967700

    oklch(58.3% 0.119 90.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5871DB

    #5871DB

    oklch(58.3% 0.164 270.6)

  • #0083C3

    #0083C3

    oklch(58.3% 0.135 240.9)

  • #8C5FCC

    #8C5FCC

    oklch(58.3% 0.164 300.4)

Open the analogous palette in the generator

Split complementary

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

  • #5871DB

    #5871DB

    oklch(58.3% 0.164 270.6)

  • #B46400

    #B46400

    oklch(58.3% 0.136 60.2)

  • #708700

    #708700

    oklch(58.4% 0.14 120.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5871DB

    #5871DB

    oklch(58.3% 0.164 270.6)

  • #CA4C3A

    #CA4C3A

    oklch(58.4% 0.164 30.7)

  • #009445

    #009445

    oklch(58.3% 0.159 150.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5871DB

    #5871DB

    oklch(58.3% 0.164 270.6)

  • #C44876

    #C44876

    oklch(58.3% 0.163 0.6)

  • #967700

    #967700

    oklch(58.3% 0.119 90.5)

  • #008F7E

    #008F7E

    oklch(58.3% 0.105 180.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #5871DB 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.