#51578F

Closest named color: Twilight (#4E518B). oklch(47.7% 0.09 277.8), rgb(81, 87, 143).

Aa

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

About this color

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

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

Values

HEX#51578F
RGBrgb(81, 87, 143)
HSLhsl(234, 28%, 44%)
OKLCHoklch(47.7% 0.09 277.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 #51578F 6.75:1 AA Lc -88.2 Fine for body text
Black text on #51578F 3.10:1 AA large text Lc 20.8 Dividers and decoration only
#51578F text on white 6.75:1 AA Lc 83.2 Fine for body text
#51578F text on black 3.10:1 AA large text Lc -18.7 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

    #D5D8EA

    oklch(88.5% 0.025 278.3)

  4. Step 300

    300

    #B9BFDD

    oklch(81% 0.043 276.5)

  5. Step 400

    400

    #969DCC

    oklch(70.7% 0.069 277.9)

  6. Step 500

    500

    #7C84BF

    oklch(63% 0.089 277.6)

  7. Step 600

    600

    #666DAB

    oklch(55.6% 0.096 277.9)

  8. Step 700

    700 (this color)

    #51578F

    oklch(47.7% 0.09 277.8)

  9. Step 800

    800

    #454A77

    oklch(42.6% 0.075 277.9)

  10. Step 900

    900

    #3A3E60

    oklch(37.6% 0.058 278.1)

  11. Step 950

    950

    #222538

    oklch(27.1% 0.036 276.8)

Export this scale for Tailwind in the Tailwind colors tool

#51578F 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)#435E910.025
Deuteranopia (no green cones)#3F598E0.024
Tritanopia (no blue cones)#3D626C0.079
Achromatopsia (no color)#5B5B5B0.090

Harmonies

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

Complementary

The opposite hue (180°).

  • #51578F

    #51578F

    oklch(47.7% 0.09 277.8)

  • #6B5D14

    #6B5D14

    oklch(47.8% 0.09 97.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #51578F

    #51578F

    oklch(47.7% 0.09 277.8)

  • #2E608D

    #2E608D

    oklch(47.6% 0.091 248.1)

  • #6B4E84

    #6B4E84

    oklch(47.7% 0.091 308)

Open the analogous palette in the generator

Split complementary

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

  • #51578F

    #51578F

    oklch(47.7% 0.09 277.8)

  • #7E521B

    #7E521B

    oklch(47.7% 0.09 68)

  • #4E662B

    #4E662B

    oklch(47.7% 0.09 127.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #51578F

    #51578F

    oklch(47.7% 0.09 277.8)

  • #884936

    #884936

    oklch(47.8% 0.091 37.6)

  • #276C49

    #276C49

    oklch(47.8% 0.09 158)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #51578F

    #51578F

    oklch(47.7% 0.09 277.8)

  • #874653

    #874653

    oklch(47.8% 0.089 8.3)

  • #6B5D14

    #6B5D14

    oklch(47.8% 0.09 97.7)

  • #006C65

    #006C65

    oklch(47.8% 0.084 187)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #51578F 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.