#4D5796

Closest named color: Twilight (#4E518B). oklch(47.8% 0.102 275.1), rgb(77, 87, 150).

Aa

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

About this color

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

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

Values

HEX#4D5796
RGBrgb(77, 87, 150)
HSLhsl(232, 32%, 45%)
OKLCHoklch(47.8% 0.102 275.1)

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 #4D5796 6.73:1 AA Lc -88.1 Fine for body text
Black text on #4D5796 3.11:1 AA large text Lc 21.0 Dividers and decoration only
#4D5796 text on white 6.73:1 AA Lc 83.1 Fine for body text
#4D5796 text on black 3.11:1 AA large text Lc -18.9 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

    #E7E9F4

    oklch(93.6% 0.015 277.8)

  3. Step 200

    200

    #D3D8EC

    oklch(88.4% 0.028 274.6)

  4. Step 300

    300

    #B7BFE1

    oklch(81% 0.049 274.8)

  5. Step 400

    400

    #929DD2

    oklch(70.7% 0.079 275.1)

  6. Step 500

    500

    #7884C6

    oklch(63.1% 0.1 275.3)

  7. Step 600

    600

    #616DB3

    oklch(55.6% 0.109 274.9)

  8. Step 700

    700 (this color)

    #4D5796

    oklch(47.8% 0.102 275.1)

  9. Step 800

    800

    #424A7D

    oklch(42.7% 0.085 275.5)

  10. Step 900

    900

    #373E64

    oklch(37.6% 0.066 274.9)

  11. Step 950

    950

    #20253B

    oklch(27.1% 0.042 273.5)

Export this scale for Tailwind in the Tailwind colors tool

#4D5796 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)#3F5F980.026
Deuteranopia (no green cones)#3859950.027
Tritanopia (no blue cones)#32646F0.090
Achromatopsia (no color)#5C5C5C0.102

Harmonies

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

Complementary

The opposite hue (180°).

  • #4D5796

    #4D5796

    oklch(47.8% 0.102 275.1)

  • #6F5C00

    #6F5C00

    oklch(47.9% 0.098 94.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #4D5796

    #4D5796

    oklch(47.8% 0.102 275.1)

  • #206292

    #206292

    oklch(47.9% 0.101 244.6)

  • #6B4D8B

    #6B4D8B

    oklch(47.9% 0.102 305.2)

Open the analogous palette in the generator

Split complementary

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

  • #4D5796

    #4D5796

    oklch(47.8% 0.102 275.1)

  • #844F0D

    #844F0D

    oklch(47.9% 0.102 64.6)

  • #50671E

    #50671E

    oklch(47.9% 0.102 125.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #4D5796

    #4D5796

    oklch(47.8% 0.102 275.1)

  • #8D4534

    #8D4534

    oklch(47.8% 0.102 34.5)

  • #206E43

    #206E43

    oklch(48% 0.102 154.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #4D5796

    #4D5796

    oklch(47.8% 0.102 275.1)

  • #8B4255

    #8B4255

    oklch(47.8% 0.101 5.2)

  • #6F5C00

    #6F5C00

    oklch(47.9% 0.098 94.9)

  • #006C63

    #006C63

    oklch(47.8% 0.084 184.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #4D5796 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.