#4C5286

Closest named color: Twilight (#4E518B). oklch(45.7% 0.085 277.5), rgb(76, 82, 134).

Aa

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

About this color

#4C5286 is a medium-dark, moderately saturated blue. In OKLCH its lightness is 46%, its chroma 0.085 and its hue 277°. 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.34:1.

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

Values

HEX#4C5286
RGBrgb(76, 82, 134)
HSLhsl(234, 28%, 41%)
OKLCHoklch(45.7% 0.085 277.5)

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 #4C5286 7.34:1 AAA Lc -90.3 Preferred for body text
Black text on #4C5286 2.85:1 Fails Lc 18.6 Dividers and decoration only
#4C5286 text on white 7.34:1 AAA Lc 85.5 Fine for body text
#4C5286 text on black 2.85:1 Fails Lc -16.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 800.

  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

    #D4D8EC

    oklch(88.5% 0.028 276.8)

  4. Step 300

    300

    #B8BEE1

    oklch(80.8% 0.05 277.6)

  5. Step 400

    400

    #949CD2

    oklch(70.6% 0.079 277.6)

  6. Step 500

    500

    #7B83C6

    oklch(63.1% 0.101 277.9)

  7. Step 600

    600

    #646CB3

    oklch(55.6% 0.11 277.3)

  8. Step 700

    700

    #535A9A

    oklch(49.2% 0.102 277.2)

  9. Step 800

    800 (this color)

    #4C5286

    oklch(45.7% 0.085 277.5)

  10. Step 900

    900

    #393E64

    oklch(37.7% 0.065 277.1)

  11. Step 950

    950

    #21243B

    oklch(26.9% 0.043 277.4)

Export this scale for Tailwind in the Tailwind colors tool

#4C5286 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)#4058880.022
Deuteranopia (no green cones)#3C54850.022
Tritanopia (no blue cones)#3A5C650.074
Achromatopsia (no color)#5656560.085

Harmonies

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

Complementary

The opposite hue (180°).

  • #4C5286

    #4C5286

    oklch(45.7% 0.085 277.5)

  • #645714

    #645714

    oklch(45.7% 0.085 97.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #4C5286

    #4C5286

    oklch(45.7% 0.085 277.5)

  • #2C5B84

    #2C5B84

    oklch(45.8% 0.085 247.2)

  • #644A7C

    #644A7C

    oklch(45.8% 0.084 307.3)

Open the analogous palette in the generator

Split complementary

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

  • #4C5286

    #4C5286

    oklch(45.7% 0.085 277.5)

  • #764D1B

    #764D1B

    oklch(45.7% 0.085 67.7)

  • #4A6029

    #4A6029

    oklch(45.8% 0.085 127.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #4C5286

    #4C5286

    oklch(45.7% 0.085 277.5)

  • #7F4534

    #7F4534

    oklch(45.7% 0.085 37.2)

  • #266544

    #266544

    oklch(45.6% 0.085 157.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #4C5286

    #4C5286

    oklch(45.7% 0.085 277.5)

  • #7F424F

    #7F424F

    oklch(45.8% 0.085 7.4)

  • #645714

    #645714

    oklch(45.7% 0.085 97.7)

  • #00655F

    #00655F

    oklch(45.7% 0.079 187.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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