#504DC1

Closest named color: Blue With A Hint Of Purple (#533CC6). oklch(49.1% 0.176 278.9), rgb(80, 77, 193).

Aa

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

About this color

#504DC1 is a medium-dark, vivid blue. In OKLCH its lightness is 49%, its chroma 0.176 and its hue 279°. Its hue sits on the cool side of the wheel. The nearest named color is Blue With A Hint Of Purple (#533CC6), ΔE 0.036 away. White text reads best on it, at 6.61:1.

Hue familyBlues
Lightnessmedium-dark (49%)
Chromavivid (0.176)
Temperaturecool
Nearest nameBlue With A Hint Of Purple (#533CC6)
Black text3.17:1
White text6.61:1

Values

HEX#504DC1
RGBrgb(80, 77, 193)
HSLhsl(242, 48%, 53%)
OKLCHoklch(49.1% 0.176 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 #504DC1 6.61:1 AA Lc -87.4 Fine for body text
Black text on #504DC1 3.17:1 AA large text Lc 21.7 Dividers and decoration only
#504DC1 text on white 6.61:1 AA Lc 82.3 Fine for body text
#504DC1 text on black 3.17:1 AA large text Lc -19.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 700.

  1. Step 50

    50

    #F3F5FD

    oklch(97.1% 0.011 274.9)

  2. Step 100

    100

    #E6E9FB

    oklch(93.7% 0.024 278.4)

  3. Step 200

    200

    #D2D7F9

    oklch(88.6% 0.047 278.8)

  4. Step 300

    300

    #B4BBF8

    oklch(80.8% 0.086 279.2)

  5. Step 400

    400

    #8F96F4

    oklch(70.7% 0.137 279)

  6. Step 500

    500

    #7579F0

    oklch(63.1% 0.175 278.7)

  7. Step 600

    600

    #605EDE

    oklch(55.5% 0.19 278.9)

  8. Step 700

    700 (this color)

    #504DC1

    oklch(49.1% 0.176 278.9)

  9. Step 800

    800

    #41409C

    oklch(42.7% 0.146 278.7)

  10. Step 900

    900

    #36377C

    oklch(37.6% 0.114 278.7)

  11. Step 950

    950

    #202149

    oklch(27.1% 0.073 279.3)

Export this scale for Tailwind in the Tailwind colors tool

#504DC1 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)#0061C50.070
Deuteranopia (no green cones)#0058BF0.065
Tritanopia (no blue cones)#00697F0.153
Achromatopsia (no color)#5D5D5D0.177

Harmonies

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

Complementary

The opposite hue (180°).

  • #504DC1

    #504DC1

    oklch(49.1% 0.176 278.9)

  • #706100

    #706100

    oklch(49.2% 0.102 98.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #504DC1

    #504DC1

    oklch(49.1% 0.176 278.9)

  • #0064A9

    #0064A9

    oklch(49.3% 0.135 248.6)

  • #7E3AAB

    #7E3AAB

    oklch(49.2% 0.177 309)

Open the analogous palette in the generator

Split complementary

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

  • #504DC1

    #504DC1

    oklch(49.1% 0.176 278.9)

  • #875300

    #875300

    oklch(49% 0.107 68.7)

  • #496E00

    #496E00

    oklch(49.1% 0.13 129)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #504DC1

    #504DC1

    oklch(49.1% 0.176 278.9)

  • #A73500

    #A73500

    oklch(49.3% 0.158 38.9)

  • #007448

    #007448

    oklch(49.3% 0.114 158.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #504DC1

    #504DC1

    oklch(49.1% 0.176 278.9)

  • #AC1F4C

    #AC1F4C

    oklch(49.1% 0.176 8.7)

  • #706100

    #706100

    oklch(49.2% 0.102 98.7)

  • #00706A

    #00706A

    oklch(49.1% 0.085 188.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #504DC1 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.