#4D51BF

Closest named color: Iris (#6258C4). oklch(49.5% 0.169 276.7), rgb(77, 81, 191).

Aa

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

About this color

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

Hue familyBlues
Lightnessmedium-dark (49%)
Chromavivid (0.169)
Temperaturecool
Nearest nameIris (#6258C4)
Black text3.24:1
White text6.47:1

Values

HEX#4D51BF
RGBrgb(77, 81, 191)
HSLhsl(238, 47%, 53%)
OKLCHoklch(49.5% 0.169 276.7)

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 #4D51BF 6.47:1 AA Lc -86.8 Fine for body text
Black text on #4D51BF 3.24:1 AA large text Lc 22.3 Dividers and decoration only
#4D51BF text on white 6.47:1 AA Lc 81.7 Fine for body text
#4D51BF text on black 3.24:1 AA large text Lc -20.1 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

    #F3F5FD

    oklch(97.1% 0.011 274.9)

  2. Step 100

    100

    #E5E9FA

    oklch(93.6% 0.023 275.4)

  3. Step 200

    200

    #D1D7F8

    oklch(88.5% 0.046 277.3)

  4. Step 300

    300

    #B2BCF6

    oklch(80.8% 0.083 276.8)

  5. Step 400

    400

    #8C98F1

    oklch(70.7% 0.13 276.7)

  6. Step 500

    500

    #727BEC

    oklch(63% 0.167 277)

  7. Step 600

    600

    #5C62DB

    oklch(55.7% 0.182 276.6)

  8. Step 700

    700 (this color)

    #4D51BF

    oklch(49.5% 0.169 276.7)

  9. Step 800

    800

    #3E4299

    oklch(42.6% 0.14 276.7)

  10. Step 900

    900

    #34397A

    oklch(37.7% 0.109 276.5)

  11. Step 950

    950

    #1E2247

    oklch(27% 0.068 276.2)

Export this scale for Tailwind in the Tailwind colors tool

#4D51BF 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)#0063C30.064
Deuteranopia (no green cones)#0059BD0.059
Tritanopia (no blue cones)#006B800.145
Achromatopsia (no color)#5E5E5E0.170

Harmonies

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

Complementary

The opposite hue (180°).

  • #4D51BF

    #4D51BF

    oklch(49.5% 0.169 276.7)

  • #736100

    #736100

    oklch(49.5% 0.102 96.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #4D51BF

    #4D51BF

    oklch(49.5% 0.169 276.7)

  • #0066A6

    #0066A6

    oklch(49.5% 0.129 246.5)

  • #7B3FAB

    #7B3FAB

    oklch(49.5% 0.169 306.8)

Open the analogous palette in the generator

Split complementary

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

  • #4D51BF

    #4D51BF

    oklch(49.5% 0.169 276.7)

  • #8B5300

    #8B5300

    oklch(49.5% 0.11 66.3)

  • #4F6E00

    #4F6E00

    oklch(49.5% 0.127 126.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #4D51BF

    #4D51BF

    oklch(49.5% 0.169 276.7)

  • #AB3000

    #AB3000

    oklch(49.4% 0.166 36.8)

  • #007545

    #007545

    oklch(49.5% 0.118 156.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #4D51BF

    #4D51BF

    oklch(49.5% 0.169 276.7)

  • #AA2652

    #AA2652

    oklch(49.4% 0.169 6.4)

  • #736100

    #736100

    oklch(49.5% 0.102 96.4)

  • #00716A

    #00716A

    oklch(49.4% 0.086 187.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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