#4C51AC

Closest named color: Blueberry (#464196). oklch(48% 0.143 277.2), rgb(76, 81, 172).

Aa

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

About this color

#4C51AC is a medium-dark, vivid blue. In OKLCH its lightness is 48%, its chroma 0.143 and its hue 277°. Its hue sits on the cool side of the wheel. The nearest named color is Blueberry (#464196), ΔE 0.053 away. White text reads best on it, at 6.81:1.

Hue familyBlues
Lightnessmedium-dark (48%)
Chromavivid (0.143)
Temperaturecool
Nearest nameBlueberry (#464196)
Black text3.07:1
White text6.81:1

Values

HEX#4C51AC
RGBrgb(76, 81, 172)
HSLhsl(237, 39%, 49%)
OKLCHoklch(48% 0.143 277.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 #4C51AC 6.81:1 AA Lc -88.3 Fine for body text
Black text on #4C51AC 3.07:1 AA large text Lc 20.8 Dividers and decoration only
#4C51AC text on white 6.81:1 AA Lc 83.3 Fine for body text
#4C51AC text on black 3.07:1 AA large text Lc -18.7 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

    #F4F5FC

    oklch(97.1% 0.009 279.7)

  2. Step 100

    100

    #E6E9F8

    oklch(93.6% 0.02 276.9)

  3. Step 200

    200

    #D2D7F3

    oklch(88.4% 0.039 277.6)

  4. Step 300

    300

    #B5BDEE

    oklch(80.9% 0.07 277.5)

  5. Step 400

    400

    #8F9AE5

    oklch(70.7% 0.11 276.8)

  6. Step 500

    500

    #757FDD

    oklch(63.1% 0.141 277)

  7. Step 600

    600

    #5F66CB

    oklch(55.6% 0.154 277.2)

  8. Step 700

    700 (this color)

    #4C51AC

    oklch(48% 0.143 277.2)

  9. Step 800

    800

    #40458E

    oklch(42.6% 0.119 277.1)

  10. Step 900

    900

    #363B71

    oklch(37.6% 0.092 277.1)

  11. Step 950

    950

    #202342

    oklch(27% 0.057 277.6)

Export this scale for Tailwind in the Tailwind colors tool

#4C51AC 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)#1E5FAF0.053
Deuteranopia (no green cones)#0B57AA0.057
Tritanopia (no blue cones)#1B66760.126
Achromatopsia (no color)#5B5B5B0.143

Harmonies

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

Complementary

The opposite hue (180°).

  • #4C51AC

    #4C51AC

    oklch(48% 0.143 277.2)

  • #6D5D00

    #6D5D00

    oklch(48% 0.099 97.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #4C51AC

    #4C51AC

    oklch(48% 0.143 277.2)

  • #0061A0

    #0061A0

    oklch(47.9% 0.126 247.1)

  • #73439B

    #73439B

    oklch(48.1% 0.142 307)

Open the analogous palette in the generator

Split complementary

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

  • #4C51AC

    #4C51AC

    oklch(48% 0.143 277.2)

  • #845000

    #845000

    oklch(48% 0.106 67.7)

  • #4A6A00

    #4A6A00

    oklch(48.1% 0.125 127.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #4C51AC

    #4C51AC

    oklch(48% 0.143 277.2)

  • #9D3716

    #9D3716

    oklch(47.9% 0.143 37.3)

  • #007043

    #007043

    oklch(48% 0.114 157.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #4C51AC

    #4C51AC

    oklch(48% 0.143 277.2)

  • #9C314F

    #9C314F

    oklch(48% 0.143 7.4)

  • #6D5D00

    #6D5D00

    oklch(48% 0.099 97.4)

  • #006D66

    #006D66

    oklch(48.2% 0.084 187.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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