#5881D8

Closest named color: Soft Blue (#6488EA). oklch(61.4% 0.14 263.7), rgb(88, 129, 216).

Aa

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

About this color

#5881D8 is a medium-dark, moderately saturated blue. In OKLCH its lightness is 61%, its chroma 0.140 and its hue 264°. Its hue sits on the cool side of the wheel. The nearest named color is Soft Blue (#6488EA), ΔE 0.035 away. Black text reads best on it, at 5.54:1.

Hue familyBlues
Lightnessmedium-dark (61%)
Chromamoderately saturated (0.140)
Temperaturecool
Nearest nameSoft Blue (#6488EA)
Black text5.54:1
White text3.78:1

Values

HEX#5881D8
RGBrgb(88, 129, 216)
HSLhsl(221, 62%, 60%)
OKLCHoklch(61.4% 0.14 263.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 #5881D8 3.78:1 AA large text Lc -70.7 Content text, not long reading
Black text on #5881D8 5.54:1 AA Lc 38.9 Non-text elements, placeholder text
#5881D8 text on white 3.78:1 AA large text Lc 65.2 Content text, not long reading
#5881D8 text on black 5.54:1 AA Lc -36.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

    #F2F6FC

    oklch(97.2% 0.009 258.3)

  2. Step 100

    100

    #E3EAF8

    oklch(93.6% 0.02 264.5)

  3. Step 200

    200

    #CCDAF3

    oklch(88.6% 0.038 262.1)

  4. Step 300

    300

    #AAC1EE

    oklch(80.9% 0.069 263.7)

  5. Step 400

    400

    #7DA0E5

    oklch(70.8% 0.109 263.3)

  6. Step 500

    500 (this color)

    #5881D8

    oklch(61.4% 0.14 263.7)

  7. Step 600

    600

    #446ECB

    oklch(55.6% 0.152 263.9)

  8. Step 700

    700

    #355BB0

    oklch(49% 0.142 263.8)

  9. Step 800

    800

    #2C4B8E

    oklch(42.6% 0.117 263.5)

  10. Step 900

    900

    #283F72

    oklch(37.7% 0.092 264.2)

  11. Step 950

    950

    #182543

    oklch(27% 0.059 265)

Export this scale for Tailwind in the Tailwind colors tool

#5881D8 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)#5B89DB0.022
Deuteranopia (no green cones)#4A7ED60.018
Tritanopia (no blue cones)#0094A20.121
Achromatopsia (no color)#8383830.140

Harmonies

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

Complementary

The opposite hue (180°).

  • #5881D8

    #5881D8

    oklch(61.4% 0.14 263.7)

  • #A87C00

    #A87C00

    oklch(61.3% 0.126 83.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5881D8

    #5881D8

    oklch(61.4% 0.14 263.7)

  • #0090C5

    #0090C5

    oklch(61.5% 0.128 233.6)

  • #8A71D0

    #8A71D0

    oklch(61.4% 0.141 294)

Open the analogous palette in the generator

Split complementary

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

  • #5881D8

    #5881D8

    oklch(61.4% 0.14 263.7)

  • #C36921

    #C36921

    oklch(61.4% 0.14 53.9)

  • #858D00

    #858D00

    oklch(61.6% 0.138 113.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5881D8

    #5881D8

    oklch(61.4% 0.14 263.7)

  • #CB5E5A

    #CB5E5A

    oklch(61.5% 0.14 24.1)

  • #499949

    #499949

    oklch(61.3% 0.14 143.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5881D8

    #5881D8

    oklch(61.4% 0.14 263.7)

  • #C35D8B

    #C35D8B

    oklch(61.5% 0.14 353.7)

  • #A87C00

    #A87C00

    oklch(61.3% 0.126 83.6)

  • #009B7F

    #009B7F

    oklch(61.5% 0.117 173.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #5881D8 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.