#5186B2

Closest named color: Off Blue (#5684AE). oklch(60.1% 0.088 245), rgb(81, 134, 178).

Aa

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

About this color

#5186B2 is a medium-dark, moderately saturated blue. In OKLCH its lightness is 60%, its chroma 0.088 and its hue 245°. Its hue sits on the cool side of the wheel. The nearest named color is Off Blue (#5684AE), ΔE 0.008 away. Black text reads best on it, at 5.40:1.

Hue familyBlues
Lightnessmedium-dark (60%)
Chromamoderately saturated (0.088)
Temperaturecool
Nearest nameOff Blue (#5684AE)
Black text5.40:1
White text3.88:1

Values

HEX#5186B2
RGBrgb(81, 134, 178)
HSLhsl(207, 39%, 51%)
OKLCHoklch(60.1% 0.088 245)

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 #5186B2 3.88:1 AA large text Lc -71.7 Content text, not long reading
Black text on #5186B2 5.40:1 AA Lc 37.9 Non-text elements, placeholder text
#5186B2 text on white 3.88:1 AA large text Lc 66.2 Content text, not long reading
#5186B2 text on black 5.40:1 AA Lc -35.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

    #F2F6F9

    oklch(97.1% 0.006 239.8)

  2. Step 100

    100

    #E3EBF2

    oklch(93.6% 0.013 244.3)

  3. Step 200

    200

    #CDDBE8

    oklch(88.5% 0.023 246.1)

  4. Step 300

    300

    #AAC4DB

    oklch(80.8% 0.043 245.1)

  5. Step 400

    400

    #7CA6C9

    oklch(70.8% 0.069 244.1)

  6. Step 500

    500 (this color)

    #5186B2

    oklch(60.1% 0.088 245)

  7. Step 600

    600

    #3E79A8

    oklch(55.7% 0.096 244.8)

  8. Step 700

    700

    #306590

    oklch(49.1% 0.089 245.6)

  9. Step 800

    800

    #285375

    oklch(42.8% 0.074 244.7)

  10. Step 900

    900

    #26455E

    oklch(37.8% 0.057 244.4)

  11. Step 950

    950

    #172837

    oklch(26.9% 0.036 246.3)

Export this scale for Tailwind in the Tailwind colors tool

#5186B2 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)#7387B40.040
Deuteranopia (no green cones)#667DB10.032
Tritanopia (no blue cones)#1191950.075
Achromatopsia (no color)#8181810.088

Harmonies

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

Complementary

The opposite hue (180°).

  • #5186B2

    #5186B2

    oklch(60.1% 0.088 245)

  • #A57545

    #A57545

    oklch(60.1% 0.088 64.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5186B2

    #5186B2

    oklch(60.1% 0.088 245)

  • #348EA2

    #348EA2

    oklch(60.2% 0.088 215.3)

  • #717CB5

    #717CB5

    oklch(60.1% 0.088 275.1)

Open the analogous palette in the generator

Split complementary

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

  • #5186B2

    #5186B2

    oklch(60.1% 0.088 245)

  • #AF6D5C

    #AF6D5C

    oklch(60.2% 0.089 35.2)

  • #91803F

    #91803F

    oklch(60.1% 0.088 94.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5186B2

    #5186B2

    oklch(60.1% 0.088 245)

  • #AD6A79

    #AD6A79

    oklch(60.1% 0.087 5.5)

  • #748A4E

    #748A4E

    oklch(60.1% 0.088 125.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5186B2

    #5186B2

    oklch(60.1% 0.088 245)

  • #A26C96

    #A26C96

    oklch(60.2% 0.089 335)

  • #A57545

    #A57545

    oklch(60.1% 0.088 64.8)

  • #539069

    #539069

    oklch(60.1% 0.088 154.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #5186B2 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.