#5181B2

Closest named color: Steel Blue (#4682B4). oklch(59% 0.092 250.1), rgb(81, 129, 178).

Aa

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

About this color

#5181B2 is a medium-dark, moderately saturated blue. In OKLCH its lightness is 59%, its chroma 0.092 and its hue 250°. Its hue sits on the cool side of the wheel. The nearest named color is Steel Blue (#4682B4), ΔE 0.011 away. Black text reads best on it, at 5.13:1.

Hue familyBlues
Lightnessmedium-dark (59%)
Chromamoderately saturated (0.092)
Temperaturecool
Nearest nameSteel Blue (#4682B4)
Black text5.13:1
White text4.09:1

Values

HEX#5181B2
RGBrgb(81, 129, 178)
HSLhsl(210, 39%, 51%)
OKLCHoklch(59% 0.092 250.1)

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 #5181B2 4.09:1 AA large text Lc -73.4 Content text, not long reading
Black text on #5181B2 5.13:1 AA Lc 36.1 Non-text elements, placeholder text
#5181B2 text on white 4.09:1 AA large text Lc 67.9 Content text, not long reading
#5181B2 text on black 5.13:1 AA Lc -33.7 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

    #F3F6F9

    oklch(97.2% 0.005 247.9)

  2. Step 100

    100

    #E4EBF2

    oklch(93.7% 0.012 248)

  3. Step 200

    200

    #CEDBE8

    oklch(88.6% 0.023 248.1)

  4. Step 300

    300

    #ADC3DB

    oklch(80.8% 0.042 250.6)

  5. Step 400

    400

    #81A4C9

    oklch(70.6% 0.067 250.2)

  6. Step 500

    500

    #618DBB

    oklch(63% 0.085 250.4)

  7. Step 600

    600 (this color)

    #5181B2

    oklch(59% 0.092 250.1)

  8. Step 700

    700

    #38648F

    oklch(49.1% 0.085 249.4)

  9. Step 800

    800

    #2F5174

    oklch(42.6% 0.071 250.5)

  10. Step 900

    900

    #2A445E

    oklch(37.8% 0.055 249.5)

  11. Step 950

    950

    #192837

    oklch(27.1% 0.035 249.2)

Export this scale for Tailwind in the Tailwind colors tool

#5181B2 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)#6D83B40.034
Deuteranopia (no green cones)#6079B10.026
Tritanopia (no blue cones)#148C920.079
Achromatopsia (no color)#7D7D7D0.092

Harmonies

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

Complementary

The opposite hue (180°).

  • #5181B2

    #5181B2

    oklch(59% 0.092 250.1)

  • #A0733C

    #A0733C

    oklch(59% 0.092 69.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5181B2

    #5181B2

    oklch(59% 0.092 250.1)

  • #2E8AA3

    #2E8AA3

    oklch(59.1% 0.092 219.7)

  • #7377B3

    #7377B3

    oklch(59.1% 0.091 280.3)

Open the analogous palette in the generator

Split complementary

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

  • #5181B2

    #5181B2

    oklch(59% 0.092 250.1)

  • #AC6A52

    #AC6A52

    oklch(59.1% 0.092 40.7)

  • #8A7E38

    #8A7E38

    oklch(58.9% 0.092 99.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5181B2

    #5181B2

    oklch(59% 0.092 250.1)

  • #AC6571

    #AC6571

    oklch(58.9% 0.092 9.4)

  • #6B884C

    #6B884C

    oklch(58.9% 0.092 129.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5181B2

    #5181B2

    oklch(59% 0.092 250.1)

  • #A2678E

    #A2678E

    oklch(59% 0.092 340.5)

  • #A0733C

    #A0733C

    oklch(59% 0.092 69.9)

  • #468E6A

    #468E6A

    oklch(59% 0.092 159.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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