#4C548F

Closest named color: Twilight (#4E518B). oklch(46.7% 0.096 276.2), rgb(76, 84, 143).

Aa

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

About this color

#4C548F is a medium-dark, moderately saturated blue. In OKLCH its lightness is 47%, its chroma 0.096 and its hue 276°. 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 7.06:1.

Hue familyBlues
Lightnessmedium-dark (47%)
Chromamoderately saturated (0.096)
Temperaturecool
Nearest nameTwilight (#4E518B)
Black text2.97:1
White text7.06:1

Values

HEX#4C548F
RGBrgb(76, 84, 143)
HSLhsl(233, 31%, 43%)
OKLCHoklch(46.7% 0.096 276.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 #4C548F 7.06:1 AAA Lc -89.3 Fine for body text
Black text on #4C548F 2.97:1 Fails Lc 19.6 Dividers and decoration only
#4C548F text on white 7.06:1 AAA Lc 84.4 Fine for body text
#4C548F text on black 2.97:1 Fails Lc -17.6 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

    #E7E9F3

    oklch(93.5% 0.014 277.1)

  3. Step 200

    200

    #D4D8EB

    oklch(88.5% 0.026 276.4)

  4. Step 300

    300

    #B8BFDF

    oklch(81% 0.046 275.6)

  5. Step 400

    400

    #949DCF

    oklch(70.7% 0.074 276.4)

  6. Step 500

    500

    #7A84C3

    oklch(63.1% 0.096 276.4)

  7. Step 600

    600

    #636DAF

    oklch(55.6% 0.103 276)

  8. Step 700

    700 (this color)

    #4C548F

    oklch(46.7% 0.096 276.2)

  9. Step 800

    800

    #434A7A

    oklch(42.6% 0.08 276.2)

  10. Step 900

    900

    #393E62

    oklch(37.6% 0.062 277)

  11. Step 950

    950

    #21253A

    oklch(27.1% 0.04 275.2)

Export this scale for Tailwind in the Tailwind colors tool

#4C548F 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)#3E5B910.025
Deuteranopia (no green cones)#39568E0.025
Tritanopia (no blue cones)#34606A0.085
Achromatopsia (no color)#5858580.096

Harmonies

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

Complementary

The opposite hue (180°).

  • #4C548F

    #4C548F

    oklch(46.7% 0.096 276.2)

  • #6A5901

    #6A5901

    oklch(46.7% 0.096 96.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #4C548F

    #4C548F

    oklch(46.7% 0.096 276.2)

  • #255E8C

    #255E8C

    oklch(46.7% 0.095 246.3)

  • #674B84

    #674B84

    oklch(46.7% 0.095 305.7)

Open the analogous palette in the generator

Split complementary

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

  • #4C548F

    #4C548F

    oklch(46.7% 0.096 276.2)

  • #7E4E11

    #7E4E11

    oklch(46.9% 0.096 66.4)

  • #4C6321

    #4C6321

    oklch(46.6% 0.096 126.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #4C548F

    #4C548F

    oklch(46.7% 0.096 276.2)

  • #874432

    #874432

    oklch(46.7% 0.096 36)

  • #206A43

    #206A43

    oklch(46.8% 0.096 156.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #4C548F

    #4C548F

    oklch(46.7% 0.096 276.2)

  • #864151

    #864151

    oklch(46.8% 0.096 6.8)

  • #6A5901

    #6A5901

    oklch(46.7% 0.096 96.1)

  • #006861

    #006861

    oklch(46.6% 0.081 186.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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