#51548D

Closest named color: Twilight (#4E518B). oklch(47% 0.092 280), rgb(81, 84, 141).

Aa

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

About this color

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

Hue familyBlues
Lightnessmedium-dark (47%)
Chromamoderately saturated (0.092)
Temperaturecool
Nearest nameTwilight (#4E518B)
Black text3.00:1
White text6.99:1

Values

HEX#51548D
RGBrgb(81, 84, 141)
HSLhsl(237, 27%, 44%)
OKLCHoklch(47% 0.092 280)

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 #51548D 6.99:1 AA Lc -89.1 Fine for body text
Black text on #51548D 3.00:1 AA large text Lc 19.9 Dividers and decoration only
#51548D text on white 6.99:1 AA Lc 84.1 Fine for body text
#51548D text on black 3.00:1 AA large text Lc -17.8 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

    #E8E9F3

    oklch(93.6% 0.013 281.6)

  3. Step 200

    200

    #D5D8EA

    oklch(88.5% 0.025 278.3)

  4. Step 300

    300

    #BABEDD

    oklch(80.8% 0.044 279.6)

  5. Step 400

    400

    #979CCD

    oklch(70.6% 0.072 279.9)

  6. Step 500

    500

    #7E83C0

    oklch(63% 0.092 279.8)

  7. Step 600

    600

    #686CAC

    oklch(55.6% 0.099 279.9)

  8. Step 700

    700 (this color)

    #51548D

    oklch(47% 0.092 280)

  9. Step 800

    800

    #474A78

    oklch(42.8% 0.076 279.8)

  10. Step 900

    900

    #3B3E60

    oklch(37.7% 0.058 279.3)

  11. Step 950

    950

    #232439

    oklch(27% 0.039 281.4)

Export this scale for Tailwind in the Tailwind colors tool

#51548D 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)#405B8F0.028
Deuteranopia (no green cones)#3C578C0.029
Tritanopia (no blue cones)#3E5F690.080
Achromatopsia (no color)#5959590.092

Harmonies

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

Complementary

The opposite hue (180°).

  • #51548D

    #51548D

    oklch(47% 0.092 280)

  • #675B0F

    #675B0F

    oklch(46.9% 0.091 99.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #51548D

    #51548D

    oklch(47% 0.092 280)

  • #2E5E8C

    #2E5E8C

    oklch(47.1% 0.091 249.5)

  • #6A4B81

    #6A4B81

    oklch(46.9% 0.092 309.6)

Open the analogous palette in the generator

Split complementary

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

  • #51548D

    #51548D

    oklch(47% 0.092 280)

  • #7B5015

    #7B5015

    oklch(46.9% 0.092 69.6)

  • #49652A

    #49652A

    oklch(47% 0.092 130.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #51548D

    #51548D

    oklch(47% 0.092 280)

  • #854731

    #854731

    oklch(46.9% 0.091 40.1)

  • #1F6A49

    #1F6A49

    oklch(46.9% 0.091 160.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #51548D

    #51548D

    oklch(47% 0.092 280)

  • #86434F

    #86434F

    oklch(47% 0.092 9.9)

  • #675B0F

    #675B0F

    oklch(46.9% 0.091 99.6)

  • #006965

    #006965

    oklch(47% 0.081 190.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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