#51559D

Closest named color: Twilight (#4E518B). oklch(48.2% 0.114 278.8), rgb(81, 85, 157).

Aa

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

About this color

#51559D is a medium-dark, moderately saturated blue. In OKLCH its lightness is 48%, its chroma 0.114 and its hue 279°. Its hue sits on the cool side of the wheel. The nearest named color is Twilight (#4E518B), ΔE 0.030 away. White text reads best on it, at 6.69:1.

Hue familyBlues
Lightnessmedium-dark (48%)
Chromamoderately saturated (0.114)
Temperaturecool
Nearest nameTwilight (#4E518B)
Black text3.13:1
White text6.69:1

Values

HEX#51559D
RGBrgb(81, 85, 157)
HSLhsl(237, 32%, 47%)
OKLCHoklch(48.2% 0.114 278.8)

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 #51559D 6.69:1 AA Lc -87.9 Fine for body text
Black text on #51559D 3.13:1 AA large text Lc 21.1 Dividers and decoration only
#51559D text on white 6.69:1 AA Lc 82.9 Fine for body text
#51559D text on black 3.13:1 AA large text Lc -19.0 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

    #F4F5FA

    oklch(97.1% 0.007 277.2)

  2. Step 100

    100

    #E7E9F5

    oklch(93.6% 0.016 278.5)

  3. Step 200

    200

    #D4D8EE

    oklch(88.6% 0.03 277.6)

  4. Step 300

    300

    #B8BEE5

    oklch(81% 0.055 278.2)

  5. Step 400

    400

    #949BD7

    oklch(70.6% 0.088 278.7)

  6. Step 500

    500

    #7B81CD

    oklch(63% 0.114 279.2)

  7. Step 600

    600

    #646ABA

    oklch(55.6% 0.123 278.4)

  8. Step 700

    700 (this color)

    #51559D

    oklch(48.2% 0.114 278.8)

  9. Step 800

    800

    #444882

    oklch(42.7% 0.095 278.6)

  10. Step 900

    900

    #393D68

    oklch(37.7% 0.073 278.2)

  11. Step 950

    950

    #21243D

    oklch(27% 0.047 277.6)

Export this scale for Tailwind in the Tailwind colors tool

#51559D 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)#385FA00.038
Deuteranopia (no green cones)#32599B0.039
Tritanopia (no blue cones)#3564710.100
Achromatopsia (no color)#5C5C5C0.115

Harmonies

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

Complementary

The opposite hue (180°).

  • #51559D

    #51559D

    oklch(48.2% 0.114 278.8)

  • #6D5E00

    #6D5E00

    oklch(48.2% 0.1 98.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #51559D

    #51559D

    oklch(48.2% 0.114 278.8)

  • #1D619B

    #1D619B

    oklch(48.1% 0.115 248.8)

  • #714A8F

    #714A8F

    oklch(48.3% 0.114 308.8)

Open the analogous palette in the generator

Split complementary

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

  • #51559D

    #51559D

    oklch(48.2% 0.114 278.8)

  • #845100

    #845100

    oklch(48.2% 0.105 68.6)

  • #4A6A17

    #4A6A17

    oklch(48.2% 0.115 128.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #51559D

    #51559D

    oklch(48.2% 0.114 278.8)

  • #934329

    #934329

    oklch(48.2% 0.115 38.4)

  • #007046

    #007046

    oklch(48.1% 0.111 158.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #51559D

    #51559D

    oklch(48.2% 0.114 278.8)

  • #923E51

    #923E51

    oklch(48.1% 0.115 8.3)

  • #6D5E00

    #6D5E00

    oklch(48.2% 0.1 98.3)

  • #006D67

    #006D67

    oklch(48.2% 0.084 188.2)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #51559D.

Similar named colors

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

Use #51559D 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.