#51598B

Closest named color: Dusk (#4E5481). oklch(47.9% 0.081 276), rgb(81, 89, 139).

Aa

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

About this color

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

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

Values

HEX#51598B
RGBrgb(81, 89, 139)
HSLhsl(232, 26%, 43%)
OKLCHoklch(47.9% 0.081 276)

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 #51598B 6.66:1 AA Lc -87.9 Fine for body text
Black text on #51598B 3.15:1 AA large text Lc 21.2 Dividers and decoration only
#51598B text on white 6.66:1 AA Lc 82.9 Fine for body text
#51598B text on black 3.15: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

    #E7E9F2

    oklch(93.5% 0.012 276.1)

  3. Step 200

    200

    #D5D8E8

    oklch(88.5% 0.022 277.5)

  4. Step 300

    300

    #B9BFDB

    oklch(80.9% 0.04 275.9)

  5. Step 400

    400

    #959EC8

    oklch(70.7% 0.062 275.3)

  6. Step 500

    500

    #7C85BA

    oklch(63% 0.081 276.4)

  7. Step 600

    600

    #656FA6

    oklch(55.7% 0.086 275.4)

  8. Step 700

    700 (this color)

    #51598B

    oklch(47.9% 0.081 276)

  9. Step 800

    800

    #454C74

    oklch(42.8% 0.067 275.6)

  10. Step 900

    900

    #3A3F5D

    oklch(37.7% 0.052 276.3)

  11. Step 950

    950

    #222537

    oklch(27% 0.034 276.6)

Export this scale for Tailwind in the Tailwind colors tool

#51598B 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)#485F8D0.019
Deuteranopia (no green cones)#445A8A0.018
Tritanopia (no blue cones)#3F636B0.072
Achromatopsia (no color)#5C5C5C0.081

Harmonies

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

Complementary

The opposite hue (180°).

  • #51598B

    #51598B

    oklch(47.9% 0.081 276)

  • #6B5D20

    #6B5D20

    oklch(47.9% 0.082 96.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #51598B

    #51598B

    oklch(47.9% 0.081 276)

  • #336288

    #336288

    oklch(48% 0.08 245)

  • #695182

    #695182

    oklch(48% 0.082 306)

Open the analogous palette in the generator

Split complementary

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

  • #51598B

    #51598B

    oklch(47.9% 0.081 276)

  • #7C5327

    #7C5327

    oklch(47.8% 0.081 65.6)

  • #526630

    #526630

    oklch(48% 0.082 126.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #51598B

    #51598B

    oklch(47.9% 0.081 276)

  • #854C3D

    #854C3D

    oklch(48% 0.081 35.6)

  • #326B4A

    #326B4A

    oklch(47.9% 0.081 156.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #51598B

    #51598B

    oklch(47.9% 0.081 276)

  • #844956

    #844956

    oklch(48% 0.081 6.5)

  • #6B5D20

    #6B5D20

    oklch(47.9% 0.082 96.2)

  • #0C6C64

    #0C6C64

    oklch(47.9% 0.081 185.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #51598B 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.