#4C508C

Closest named color: Twilight (#4E518B). oklch(45.7% 0.097 278.9), rgb(76, 80, 140).

Aa

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

About this color

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

Hue familyBlues
Lightnessmedium-dark (46%)
Chromamoderately saturated (0.097)
Temperaturecool
Nearest nameTwilight (#4E518B)
Black text2.83:1
White text7.41:1

Values

HEX#4C508C
RGBrgb(76, 80, 140)
HSLhsl(236, 30%, 42%)
OKLCHoklch(45.7% 0.097 278.9)

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 #4C508C 7.41:1 AAA Lc -90.5 Preferred for body text
Black text on #4C508C 2.83:1 Fails Lc 18.4 Dividers and decoration only
#4C508C text on white 7.41:1 AAA Lc 85.6 Fine for body text
#4C508C text on black 2.83:1 Fails Lc -16.4 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 800.

  1. Step 50

    50

    #F4F5FB

    oklch(97.1% 0.008 278.6)

  2. Step 100

    100

    #E7E9F5

    oklch(93.6% 0.016 278.5)

  3. Step 200

    200

    #D4D7EE

    oklch(88.4% 0.032 279.8)

  4. Step 300

    300

    #B8BEE6

    oklch(81% 0.057 278.4)

  5. Step 400

    400

    #949BD9

    oklch(70.7% 0.091 278.8)

  6. Step 500

    500

    #7B81CE

    oklch(63.1% 0.115 279.1)

  7. Step 600

    600

    #6469BB

    oklch(55.5% 0.126 278.8)

  8. Step 700

    700

    #5357A1

    oklch(49% 0.117 278.8)

  9. Step 800

    800 (this color)

    #4C508C

    oklch(45.7% 0.097 278.9)

  10. Step 900

    900

    #393C69

    oklch(37.6% 0.076 279.1)

  11. Step 950

    950

    #21243D

    oklch(27% 0.047 277.6)

Export this scale for Tailwind in the Tailwind colors tool

#4C508C 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)#3A588E0.030
Deuteranopia (no green cones)#35538B0.031
Tritanopia (no blue cones)#375C670.084
Achromatopsia (no color)#5555550.097

Harmonies

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

Complementary

The opposite hue (180°).

  • #4C508C

    #4C508C

    oklch(45.7% 0.097 278.9)

  • #655700

    #655700

    oklch(45.7% 0.094 98.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #4C508C

    #4C508C

    oklch(45.7% 0.097 278.9)

  • #255A8A

    #255A8A

    oklch(45.6% 0.097 248.8)

  • #674780

    #674780

    oklch(45.8% 0.097 308.9)

Open the analogous palette in the generator

Split complementary

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

  • #4C508C

    #4C508C

    oklch(45.7% 0.097 278.9)

  • #794B06

    #794B06

    oklch(45.5% 0.097 68.7)

  • #466120

    #466120

    oklch(45.6% 0.097 128.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #4C508C

    #4C508C

    oklch(45.7% 0.097 278.9)

  • #84422C

    #84422C

    oklch(45.8% 0.097 39)

  • #146743

    #146743

    oklch(45.7% 0.097 159.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #4C508C

    #4C508C

    oklch(45.7% 0.097 278.9)

  • #833E4C

    #833E4C

    oklch(45.7% 0.096 8.8)

  • #655700

    #655700

    oklch(45.7% 0.094 98.4)

  • #006560

    #006560

    oklch(45.7% 0.079 188.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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