#51558F

Closest named color: Twilight (#4E518B). oklch(47.3% 0.093 279.2), rgb(81, 85, 143).

Aa

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

About this color

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

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

Values

HEX#51558F
RGBrgb(81, 85, 143)
HSLhsl(236, 28%, 44%)
OKLCHoklch(47.3% 0.093 279.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 #51558F 6.89:1 AA Lc -88.7 Fine for body text
Black text on #51558F 3.04:1 AA large text Lc 20.3 Dividers and decoration only
#51558F text on white 6.89:1 AA Lc 83.8 Fine for body text
#51558F text on black 3.04:1 AA large text Lc -18.2 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

    #E8E9F3

    oklch(93.6% 0.013 281.6)

  3. Step 200

    200

    #D5D8EA

    oklch(88.5% 0.025 278.3)

  4. Step 300

    300

    #BABEDE

    oklch(80.9% 0.045 279.7)

  5. Step 400

    400

    #979CCE

    oklch(70.7% 0.073 279.9)

  6. Step 500

    500

    #7E83C1

    oklch(63.1% 0.093 279.8)

  7. Step 600

    600

    #676CAD

    oklch(55.5% 0.101 279.2)

  8. Step 700

    700 (this color)

    #51558F

    oklch(47.3% 0.093 279.2)

  9. Step 800

    800

    #464A79

    oklch(42.7% 0.078 278.9)

  10. Step 900

    900

    #3B3E61

    oklch(37.7% 0.06 279.4)

  11. Step 950

    950

    #222439

    oklch(26.9% 0.039 279.2)

Export this scale for Tailwind in the Tailwind colors tool

#51558F 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)#405C910.028
Deuteranopia (no green cones)#3C588E0.029
Tritanopia (no blue cones)#3D616B0.082
Achromatopsia (no color)#5A5A5A0.093

Harmonies

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

Complementary

The opposite hue (180°).

  • #51558F

    #51558F

    oklch(47.3% 0.093 279.2)

  • #695C0D

    #695C0D

    oklch(47.3% 0.093 99)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #51558F

    #51558F

    oklch(47.3% 0.093 279.2)

  • #2D5F8E

    #2D5F8E

    oklch(47.4% 0.094 249.2)

  • #6B4C83

    #6B4C83

    oklch(47.3% 0.093 309.2)

Open the analogous palette in the generator

Split complementary

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

  • #51558F

    #51558F

    oklch(47.3% 0.093 279.2)

  • #7D5115

    #7D5115

    oklch(47.4% 0.093 69.4)

  • #4B6629

    #4B6629

    oklch(47.4% 0.093 129.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #51558F

    #51558F

    oklch(47.3% 0.093 279.2)

  • #874732

    #874732

    oklch(47.2% 0.093 38.8)

  • #206B48

    #206B48

    oklch(47.2% 0.093 159)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #51558F

    #51558F

    oklch(47.3% 0.093 279.2)

  • #874350

    #874350

    oklch(47.2% 0.094 9.2)

  • #695C0D

    #695C0D

    oklch(47.3% 0.093 99)

  • #006A65

    #006A65

    oklch(47.3% 0.082 189.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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