#5181AB

Closest named color: Off Blue (#5684AE). oklch(58.7% 0.083 246.2), rgb(81, 129, 171).

Aa

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

About this color

#5181AB is a medium-dark, moderately saturated blue. In OKLCH its lightness is 59%, its chroma 0.083 and its hue 246°. Its hue sits on the cool side of the wheel. The nearest named color is Off Blue (#5684AE), ΔE 0.011 away. Black text reads best on it, at 5.07:1.

Hue familyBlues
Lightnessmedium-dark (59%)
Chromamoderately saturated (0.083)
Temperaturecool
Nearest nameOff Blue (#5684AE)
Black text5.07:1
White text4.13:1

Values

HEX#5181AB
RGBrgb(81, 129, 171)
HSLhsl(208, 36%, 49%)
OKLCHoklch(58.7% 0.083 246.2)

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 #5181AB 4.13:1 AA large text Lc -73.8 Content text, not long reading
Black text on #5181AB 5.07:1 AA Lc 35.8 Non-text elements, placeholder text
#5181AB text on white 4.13:1 AA large text Lc 68.3 Content text, not long reading
#5181AB text on black 5.07:1 AA Lc -33.3 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

    #E4EBF1

    oklch(93.6% 0.011 243.7)

  3. Step 200

    200

    #CEDBE6

    oklch(88.5% 0.021 243.4)

  4. Step 300

    300

    #AEC4D8

    oklch(81% 0.037 245.7)

  5. Step 400

    400

    #82A5C4

    oklch(70.7% 0.06 245.5)

  6. Step 500

    500

    #628EB5

    oklch(63% 0.076 246.1)

  7. Step 600

    600 (this color)

    #5181AB

    oklch(58.7% 0.083 246.2)

  8. Step 700

    700

    #39658A

    oklch(49.2% 0.077 245.6)

  9. Step 800

    800

    #305270

    oklch(42.6% 0.064 246.6)

  10. Step 900

    900

    #2B445B

    oklch(37.7% 0.05 247.3)

  11. Step 950

    950

    #192835

    oklch(27% 0.032 245.5)

Export this scale for Tailwind in the Tailwind colors tool

#5181AB 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)#6F82AD0.037
Deuteranopia (no green cones)#6479AA0.029
Tritanopia (no blue cones)#1F8B8F0.071
Achromatopsia (no color)#7D7D7D0.083

Harmonies

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

Complementary

The opposite hue (180°).

  • #5181AB

    #5181AB

    oklch(58.7% 0.083 246.2)

  • #9E7244

    #9E7244

    oklch(58.7% 0.083 66.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5181AB

    #5181AB

    oklch(58.7% 0.083 246.2)

  • #37889C

    #37889C

    oklch(58.5% 0.083 216.9)

  • #6F78AE

    #6F78AE

    oklch(58.7% 0.083 276.3)

Open the analogous palette in the generator

Split complementary

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

  • #5181AB

    #5181AB

    oklch(58.7% 0.083 246.2)

  • #A76A59

    #A76A59

    oklch(58.6% 0.083 36.3)

  • #8B7C3F

    #8B7C3F

    oklch(58.6% 0.083 95.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5181AB

    #5181AB

    oklch(58.7% 0.083 246.2)

  • #A66774

    #A66774

    oklch(58.6% 0.082 6.5)

  • #70854E

    #70854E

    oklch(58.6% 0.082 125.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5181AB

    #5181AB

    oklch(58.7% 0.083 246.2)

  • #9C698F

    #9C698F

    oklch(58.7% 0.083 336.3)

  • #9E7244

    #9E7244

    oklch(58.7% 0.083 66.2)

  • #508B68

    #508B68

    oklch(58.6% 0.083 156.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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