#4C51AE

Closest named color: Iris (#6258C4). oklch(48.1% 0.146 277.1), rgb(76, 81, 174).

Aa

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

About this color

#4C51AE is a medium-dark, vivid blue. In OKLCH its lightness is 48%, its chroma 0.146 and its hue 277°. Its hue sits on the cool side of the wheel. The nearest named color is Iris (#6258C4), ΔE 0.052 away. White text reads best on it, at 6.78:1.

Hue familyBlues
Lightnessmedium-dark (48%)
Chromavivid (0.146)
Temperaturecool
Nearest nameIris (#6258C4)
Black text3.09:1
White text6.78:1

Values

HEX#4C51AE
RGBrgb(76, 81, 174)
HSLhsl(237, 39%, 49%)
OKLCHoklch(48.1% 0.146 277.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 #4C51AE 6.78:1 AA Lc -88.1 Fine for body text
Black text on #4C51AE 3.09:1 AA large text Lc 20.9 Dividers and decoration only
#4C51AE text on white 6.78:1 AA Lc 83.1 Fine for body text
#4C51AE text on black 3.09:1 AA large text Lc -18.8 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

    #D2D7F4

    oklch(88.4% 0.04 277.8)

  4. Step 300

    300

    #B5BDEF

    oklch(80.9% 0.071 277.6)

  5. Step 400

    400

    #8F9AE6

    oklch(70.8% 0.112 276.9)

  6. Step 500

    500

    #757EDF

    oklch(63% 0.145 277.4)

  7. Step 600

    600

    #5F66CD

    oklch(55.7% 0.157 277.1)

  8. Step 700

    700 (this color)

    #4C51AE

    oklch(48.1% 0.146 277.1)

  9. Step 800

    800

    #40458F

    oklch(42.6% 0.12 277.1)

  10. Step 900

    900

    #363B72

    oklch(37.7% 0.093 277)

  11. Step 950

    950

    #1F2343

    oklch(27% 0.059 276.3)

Export this scale for Tailwind in the Tailwind colors tool

#4C51AE 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)#1B5FB10.054
Deuteranopia (no green cones)#0357AC0.059
Tritanopia (no blue cones)#1766770.128
Achromatopsia (no color)#5B5B5B0.146

Harmonies

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

Complementary

The opposite hue (180°).

  • #4C51AE

    #4C51AE

    oklch(48.1% 0.146 277.1)

  • #6E5D00

    #6E5D00

    oklch(48.1% 0.099 96.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #4C51AE

    #4C51AE

    oklch(48.1% 0.146 277.1)

  • #0062A1

    #0062A1

    oklch(48.2% 0.127 246.9)

  • #74429D

    #74429D

    oklch(48.1% 0.146 307.1)

Open the analogous palette in the generator

Split complementary

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

  • #4C51AE

    #4C51AE

    oklch(48.1% 0.146 277.1)

  • #855000

    #855000

    oklch(48.1% 0.106 67.1)

  • #4B6A00

    #4B6A00

    oklch(48.2% 0.124 127)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #4C51AE

    #4C51AE

    oklch(48.1% 0.146 277.1)

  • #9F3615

    #9F3615

    oklch(48.1% 0.146 36.8)

  • #007143

    #007143

    oklch(48.3% 0.115 157)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #4C51AE

    #4C51AE

    oklch(48.1% 0.146 277.1)

  • #9D3050

    #9D3050

    oklch(48.1% 0.145 6.7)

  • #6E5D00

    #6E5D00

    oklch(48.1% 0.099 96.7)

  • #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 #4C51AE, closest first.

Similar named colors

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

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