#5281A2

Closest named color: Stormy Blue (#507B9C). oklch(58.3% 0.072 240.2), rgb(82, 129, 162).

Aa

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

About this color

#5281A2 is a medium-dark, moderately saturated blue. In OKLCH its lightness is 58%, its chroma 0.072 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.02:1.

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

Values

HEX#5281A2
RGBrgb(82, 129, 162)
HSLhsl(205, 33%, 48%)
OKLCHoklch(58.3% 0.072 240.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 #5281A2 4.18:1 AA large text Lc -74.2 Content text, not long reading
Black text on #5281A2 5.02:1 AA Lc 35.4 Non-text elements, placeholder text
#5281A2 text on white 4.18:1 AA large text Lc 68.7 Content text, not long reading
#5281A2 text on black 5.02: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

    #AFC4D4

    oklch(81% 0.032 240.7)

  5. Step 400

    400

    #84A5BE

    oklch(70.6% 0.052 241.1)

  6. Step 500

    500

    #648FAE

    oklch(63.1% 0.066 240.5)

  7. Step 600

    600 (this color)

    #5281A2

    oklch(58.3% 0.072 240.2)

  8. Step 700

    700

    #3B6683

    oklch(49.2% 0.067 239.6)

  9. Step 800

    800

    #31536B

    oklch(42.7% 0.056 240.6)

  10. Step 900

    900

    #2C4556

    oklch(37.8% 0.042 239.1)

  11. Step 950

    950

    #1A2833

    oklch(26.9% 0.028 242.7)

Export this scale for Tailwind in the Tailwind colors tool

#5281A2 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)#7381A40.041
Deuteranopia (no green cones)#6878A10.034
Tritanopia (no blue cones)#2B898C0.058
Achromatopsia (no color)#7C7C7C0.072

Harmonies

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

Complementary

The opposite hue (180°).

  • #5281A2

    #5281A2

    oklch(58.3% 0.072 240.2)

  • #9B714E

    #9B714E

    oklch(58.3% 0.073 60.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5281A2

    #5281A2

    oklch(58.3% 0.072 240.2)

  • #418793

    #418793

    oklch(58.3% 0.072 210.1)

  • #6B79A7

    #6B79A7

    oklch(58.3% 0.073 271)

Open the analogous palette in the generator

Split complementary

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

  • #5281A2

    #5281A2

    oklch(58.3% 0.072 240.2)

  • #A26B61

    #A26B61

    oklch(58.3% 0.073 30.7)

  • #8C7A47

    #8C7A47

    oklch(58.4% 0.073 90.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5281A2

    #5281A2

    oklch(58.3% 0.072 240.2)

  • #9F6979

    #9F6979

    oklch(58.3% 0.072 0.3)

  • #758250

    #758250

    oklch(58.3% 0.073 120.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5281A2

    #5281A2

    oklch(58.3% 0.072 240.2)

  • #946C90

    #946C90

    oklch(58.4% 0.072 329.9)

  • #9B714E

    #9B714E

    oklch(58.3% 0.073 60.5)

  • #5B8865

    #5B8865

    oklch(58.4% 0.073 150.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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