#515A87

Closest named color: Dusk (#4E5481). oklch(47.9% 0.074 274.7), rgb(81, 90, 135).

Aa

White text reads best on this color (6.64:1).

About this color

#515A87 is a medium-dark, moderately saturated blue. In OKLCH its lightness is 48%, its chroma 0.074 and its hue 275°. Its hue sits on the cool side of the wheel. The nearest named color is Dusk (#4E5481), ΔE 0.019 away. White text reads best on it, at 6.64:1.

Hue familyBlues
Lightnessmedium-dark (48%)
Chromamoderately saturated (0.074)
Temperaturecool
Nearest nameDusk (#4E5481)
Black text3.16:1
White text6.64:1

Values

HEX#515A87
RGBrgb(81, 90, 135)
HSLhsl(230, 25%, 42%)
OKLCHoklch(47.9% 0.074 274.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 #515A87 6.64:1 AA Lc -87.8 Fine for body text
Black text on #515A87 3.16:1 AA large text Lc 21.3 Dividers and decoration only
#515A87 text on white 6.64:1 AA Lc 82.8 Fine for body text
#515A87 text on black 3.16:1 AA large text Lc -19.1 Dividers and decoration only

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 700.

  1. Step 50

    50

    #F4F5F9

    oklch(97.1% 0.005 275)

  2. Step 100

    100

    #E8E9F1

    oklch(93.6% 0.011 280.5)

  3. Step 200

    200

    #D5D8E7

    oklch(88.4% 0.021 276.9)

  4. Step 300

    300

    #B9BFD8

    oklch(80.8% 0.036 274.9)

  5. Step 400

    400

    #969EC5

    oklch(70.7% 0.058 275.8)

  6. Step 500

    500

    #7C86B6

    oklch(63% 0.073 275)

  7. Step 600

    600

    #6570A2

    oklch(55.7% 0.079 274.1)

  8. Step 700

    700 (this color)

    #515A87

    oklch(47.9% 0.074 274.7)

  9. Step 800

    800

    #454C70

    oklch(42.6% 0.061 275.1)

  10. Step 900

    900

    #3A405B

    oklch(37.8% 0.047 274.3)

  11. Step 950

    950

    #222535

    oklch(26.9% 0.03 276)

Export this scale for Tailwind in the Tailwind colors tool

#515A87 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)#4B5F890.015
Deuteranopia (no green cones)#475A860.014
Tritanopia (no blue cones)#41636A0.066
Achromatopsia (no color)#5C5C5C0.074

Harmonies

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

Complementary

The opposite hue (180°).

  • #515A87

    #515A87

    oklch(47.9% 0.074 274.7)

  • #6B5D28

    #6B5D28

    oklch(48% 0.074 94.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #515A87

    #515A87

    oklch(47.9% 0.074 274.7)

  • #376284

    #376284

    oklch(48% 0.073 244)

  • #67537F

    #67537F

    oklch(48% 0.073 304.7)

Open the analogous palette in the generator

Split complementary

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

  • #515A87

    #515A87

    oklch(47.9% 0.074 274.7)

  • #7A542E

    #7A542E

    oklch(47.9% 0.074 64.5)

  • #546535

    #546535

    oklch(48% 0.074 125.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #515A87

    #515A87

    oklch(47.9% 0.074 274.7)

  • #824E41

    #824E41

    oklch(48.1% 0.074 34.8)

  • #396A4B

    #396A4B

    oklch(48% 0.074 154.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #515A87

    #515A87

    oklch(47.9% 0.074 274.7)

  • #804B58

    #804B58

    oklch(47.9% 0.074 4.4)

  • #6B5D28

    #6B5D28

    oklch(48% 0.074 94.6)

  • #1F6B63

    #1F6B63

    oklch(48% 0.074 185)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #515A87 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.