#515E8B

Closest named color: Dusky Blue (#475F94). oklch(49.1% 0.074 271.2), rgb(81, 94, 139).

Aa

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

About this color

#515E8B is a medium-dark, moderately saturated blue. In OKLCH its lightness is 49%, its chroma 0.074 and its hue 271°. Its hue sits on the cool side of the wheel. The nearest named color is Dusky Blue (#475F94), ΔE 0.018 away. White text reads best on it, at 6.31:1.

Hue familyBlues
Lightnessmedium-dark (49%)
Chromamoderately saturated (0.074)
Temperaturecool
Nearest nameDusky Blue (#475F94)
Black text3.32:1
White text6.31:1

Values

HEX#515E8B
RGBrgb(81, 94, 139)
HSLhsl(227, 26%, 43%)
OKLCHoklch(49.1% 0.074 271.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 #515E8B 6.31:1 AA Lc -86.5 Fine for body text
Black text on #515E8B 3.32:1 AA large text Lc 22.7 Dividers and decoration only
#515E8B text on white 6.31:1 AA Lc 81.4 Fine for body text
#515E8B text on black 3.32:1 AA large text Lc -20.5 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

    #E7EAF1

    oklch(93.7% 0.01 267.4)

  3. Step 200

    200

    #D4D9E7

    oklch(88.6% 0.02 270.2)

  4. Step 300

    300

    #B8C0D9

    oklch(81% 0.036 271.5)

  5. Step 400

    400

    #939FC5

    oklch(70.6% 0.057 271.2)

  6. Step 500

    500

    #7987B7

    oklch(63.1% 0.074 271.6)

  7. Step 600

    600

    #6271A2

    oklch(55.7% 0.079 270.7)

  8. Step 700

    700 (this color)

    #515E8B

    oklch(49.1% 0.074 271.2)

  9. Step 800

    800

    #424D71

    oklch(42.7% 0.062 270.6)

  10. Step 900

    900

    #38405B

    oklch(37.6% 0.048 271.3)

  11. Step 950

    950

    #212635

    oklch(27.1% 0.029 270.1)

Export this scale for Tailwind in the Tailwind colors tool

#515E8B 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)#4F628D0.011
Deuteranopia (no green cones)#4A5D8A0.010
Tritanopia (no blue cones)#3E676E0.067
Achromatopsia (no color)#6060600.074

Harmonies

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

Complementary

The opposite hue (180°).

  • #515E8B

    #515E8B

    oklch(49.1% 0.074 271.2)

  • #705F2B

    #705F2B

    oklch(49.1% 0.074 91.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #515E8B

    #515E8B

    oklch(49.1% 0.074 271.2)

  • #376687

    #376687

    oklch(49.1% 0.074 241.1)

  • #685684

    #685684

    oklch(49% 0.075 301.7)

Open the analogous palette in the generator

Split complementary

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

  • #515E8B

    #515E8B

    oklch(49.1% 0.074 271.2)

  • #7F5632

    #7F5632

    oklch(49% 0.075 61)

  • #5A6735

    #5A6735

    oklch(49% 0.074 121.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #515E8B

    #515E8B

    oklch(49.1% 0.074 271.2)

  • #865046

    #865046

    oklch(49.1% 0.075 31.2)

  • #3F6D4B

    #3F6D4B

    oklch(49.2% 0.075 151.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #515E8B

    #515E8B

    oklch(49.1% 0.074 271.2)

  • #834E5E

    #834E5E

    oklch(49% 0.074 0.7)

  • #705F2B

    #705F2B

    oklch(49.1% 0.074 91.4)

  • #246E63

    #246E63

    oklch(49% 0.074 181.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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