#5F81BB

Closest named color: Cool Blue (#4984B8). oklch(60.2% 0.097 260.7), rgb(95, 129, 187).

Aa

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

About this color

#5F81BB is a medium-dark, moderately saturated blue. In OKLCH its lightness is 60%, its chroma 0.097 and its hue 261°. Its hue sits on the cool side of the wheel. The nearest named color is Cool Blue (#4984B8), ΔE 0.025 away. Black text reads best on it, at 5.34:1.

Hue familyBlues
Lightnessmedium-dark (60%)
Chromamoderately saturated (0.097)
Temperaturecool
Nearest nameCool Blue (#4984B8)
Black text5.34:1
White text3.92:1

Values

HEX#5F81BB
RGBrgb(95, 129, 187)
HSLhsl(218, 40%, 55%)
OKLCHoklch(60.2% 0.097 260.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 #5F81BB 3.92:1 AA large text Lc -72.1 Content text, not long reading
Black text on #5F81BB 5.34:1 AA Lc 37.5 Non-text elements, placeholder text
#5F81BB text on white 3.92:1 AA large text Lc 66.6 Content text, not long reading
#5F81BB text on black 5.34: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

    #F3F6FA

    oklch(97.2% 0.006 255.5)

  2. Step 100

    100

    #E5EAF3

    oklch(93.6% 0.013 262.4)

  3. Step 200

    200

    #CFDAEB

    oklch(88.5% 0.026 259)

  4. Step 300

    300

    #AFC2E0

    oklch(80.9% 0.047 259.5)

  5. Step 400

    400

    #86A2D1

    oklch(70.9% 0.076 260.6)

  6. Step 500

    500 (this color)

    #5F81BB

    oklch(60.2% 0.097 260.7)

  7. Step 600

    600

    #4F73B1

    oklch(55.7% 0.105 260.7)

  8. Step 700

    700

    #3F6098

    oklch(49.1% 0.098 260.4)

  9. Step 800

    800

    #354F7B

    oklch(42.8% 0.08 260.4)

  10. Step 900

    900

    #2E4263

    oklch(37.8% 0.062 260.1)

  11. Step 950

    950

    #1B273A

    oklch(27.1% 0.039 259.4)

Export this scale for Tailwind in the Tailwind colors tool

#5F81BB 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)#6B85BD0.020
Deuteranopia (no green cones)#607CBA0.014
Tritanopia (no blue cones)#378E960.087
Achromatopsia (no color)#8080800.097

Harmonies

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

Complementary

The opposite hue (180°).

  • #5F81BB

    #5F81BB

    oklch(60.2% 0.097 260.7)

  • #9F7A36

    #9F7A36

    oklch(60.2% 0.097 80.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5F81BB

    #5F81BB

    oklch(60.2% 0.097 260.7)

  • #388BB0

    #388BB0

    oklch(60.2% 0.097 230.8)

  • #8176B7

    #8176B7

    oklch(60.2% 0.098 290.9)

Open the analogous palette in the generator

Split complementary

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

  • #5F81BB

    #5F81BB

    oklch(60.2% 0.097 260.7)

  • #AF6F49

    #AF6F49

    oklch(60.2% 0.097 50.8)

  • #84863C

    #84863C

    oklch(60.2% 0.097 110.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5F81BB

    #5F81BB

    oklch(60.2% 0.097 260.7)

  • #B46868

    #B46868

    oklch(60.2% 0.098 20.3)

  • #608F57

    #608F57

    oklch(60.2% 0.097 140.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5F81BB

    #5F81BB

    oklch(60.2% 0.097 260.7)

  • #AD6888

    #AD6888

    oklch(60.3% 0.097 351.1)

  • #9F7A36

    #9F7A36

    oklch(60.2% 0.097 80.2)

  • #369479

    #369479

    oklch(60.3% 0.098 170.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #5F81BB 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.