#5181A2

Closest named color: Stormy Blue (#507B9C). oklch(58.2% 0.073 239.7), rgb(81, 129, 162).

Aa

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

About this color

#5181A2 is a medium-dark, moderately saturated blue. In OKLCH its lightness is 58%, its chroma 0.073 and its hue 240°. Its hue sits on the cool side of the wheel. The nearest named color is Stormy Blue (#507B9C), ΔE 0.018 away. Black text reads best on it, at 5.01:1.

Hue familyBlues
Lightnessmedium-dark (58%)
Chromamoderately saturated (0.073)
Temperaturecool
Nearest nameStormy Blue (#507B9C)
Black text5.01:1
White text4.19:1

Values

HEX#5181A2
RGBrgb(81, 129, 162)
HSLhsl(204, 33%, 48%)
OKLCHoklch(58.2% 0.073 239.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 #5181A2 4.19:1 AA large text Lc -74.3 Content text, not long reading
Black text on #5181A2 5.01:1 AA Lc 35.3 Non-text elements, placeholder text
#5181A2 text on white 4.19:1 AA large text Lc 68.8 Content text, not long reading
#5181A2 text on black 5.01:1 AA Lc -32.9 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

    #F3F6F8

    oklch(97.1% 0.004 236.5)

  2. Step 100

    100

    #E4EBF0

    oklch(93.6% 0.01 238.5)

  3. Step 200

    200

    #CFDBE4

    oklch(88.5% 0.018 240)

  4. Step 300

    300

    #AEC4D4

    oklch(80.9% 0.033 239.5)

  5. Step 400

    400

    #83A6BE

    oklch(70.8% 0.052 238.4)

  6. Step 500

    500

    #638FAE

    oklch(63% 0.067 239.9)

  7. Step 600

    600 (this color)

    #5181A2

    oklch(58.2% 0.073 239.7)

  8. Step 700

    700

    #3A6683

    oklch(49.1% 0.068 239.1)

  9. Step 800

    800

    #31536B

    oklch(42.7% 0.056 240.6)

  10. Step 900

    900

    #2B4557

    oklch(37.7% 0.044 239.7)

  11. Step 950

    950

    #1A2833

    oklch(26.9% 0.028 242.7)

Export this scale for Tailwind in the Tailwind colors tool

#5181A2 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)#7281A40.041
Deuteranopia (no green cones)#6778A10.034
Tritanopia (no blue cones)#29898C0.058
Achromatopsia (no color)#7C7C7C0.073

Harmonies

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

Complementary

The opposite hue (180°).

  • #5181A2

    #5181A2

    oklch(58.2% 0.073 239.7)

  • #9B714E

    #9B714E

    oklch(58.3% 0.073 60.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5181A2

    #5181A2

    oklch(58.2% 0.073 239.7)

  • #408793

    #408793

    oklch(58.3% 0.073 210)

  • #6A79A7

    #6A79A7

    oklch(58.2% 0.073 270.1)

Open the analogous palette in the generator

Split complementary

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

  • #5181A2

    #5181A2

    oklch(58.2% 0.073 239.7)

  • #A26B61

    #A26B61

    oklch(58.3% 0.073 30.7)

  • #8C7947

    #8C7947

    oklch(58.2% 0.072 89.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5181A2

    #5181A2

    oklch(58.2% 0.073 239.7)

  • #9F6979

    #9F6979

    oklch(58.3% 0.072 0.3)

  • #75824F

    #75824F

    oklch(58.3% 0.074 120.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5181A2

    #5181A2

    oklch(58.2% 0.073 239.7)

  • #946B90

    #946B90

    oklch(58.2% 0.074 329.8)

  • #9B714E

    #9B714E

    oklch(58.3% 0.073 60.5)

  • #5B8764

    #5B8764

    oklch(58.1% 0.072 150.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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