#504DCA

Closest named color: Warm Blue (#4B57DB). oklch(49.9% 0.188 278.2), rgb(80, 77, 202).

Aa

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

About this color

#504DCA is a medium-dark, vivid blue. In OKLCH its lightness is 50%, its chroma 0.188 and its hue 278°. Its hue sits on the cool side of the wheel. The nearest named color is Warm Blue (#4B57DB), ΔE 0.034 away. White text reads best on it, at 6.45:1.

Hue familyBlues
Lightnessmedium-dark (50%)
Chromavivid (0.188)
Temperaturecool
Nearest nameWarm Blue (#4B57DB)
Black text3.25:1
White text6.45:1

Values

HEX#504DCA
RGBrgb(80, 77, 202)
HSLhsl(241, 54%, 55%)
OKLCHoklch(49.9% 0.188 278.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 #504DCA 6.45:1 AA Lc -86.6 Fine for body text
Black text on #504DCA 3.25:1 AA large text Lc 22.5 Dividers and decoration only
#504DCA text on white 6.45:1 AA Lc 81.5 Fine for body text
#504DCA text on black 3.25:1 AA large text Lc -20.3 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

    #F3F5FE

    oklch(97.1% 0.012 276.1)

  2. Step 100

    100

    #E5E9FC

    oklch(93.7% 0.026 276.4)

  3. Step 200

    200

    #D1D7FB

    oklch(88.6% 0.05 277.9)

  4. Step 300

    300

    #B3BBFB

    oklch(80.9% 0.091 278.6)

  5. Step 400

    400

    #8D95FA

    oklch(70.7% 0.147 278.5)

  6. Step 500

    500

    #7377F7

    oklch(63.1% 0.187 278.2)

  7. Step 600

    600

    #5E5CE5

    oklch(55.6% 0.202 278.2)

  8. Step 700

    700 (this color)

    #504DCA

    oklch(49.9% 0.188 278.2)

  9. Step 800

    800

    #403EA1

    oklch(42.7% 0.156 278.4)

  10. Step 900

    900

    #353680

    oklch(37.6% 0.122 278.2)

  11. Step 950

    950

    #1F214B

    oklch(27.1% 0.076 278)

Export this scale for Tailwind in the Tailwind colors tool

#504DCA 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)#0064CE0.072
Deuteranopia (no green cones)#0059C80.064
Tritanopia (no blue cones)#006C840.160
Achromatopsia (no color)#5E5E5E0.189

Harmonies

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

Complementary

The opposite hue (180°).

  • #504DCA

    #504DCA

    oklch(49.9% 0.188 278.2)

  • #736300

    #736300

    oklch(50% 0.103 98.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #504DCA

    #504DCA

    oklch(49.9% 0.188 278.2)

  • #0066AB

    #0066AB

    oklch(49.9% 0.135 248.2)

  • #8138B3

    #8138B3

    oklch(49.9% 0.189 308.2)

Open the analogous palette in the generator

Split complementary

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

  • #504DCA

    #504DCA

    oklch(49.9% 0.188 278.2)

  • #8B5500

    #8B5500

    oklch(49.9% 0.109 68.1)

  • #4C7000

    #4C7000

    oklch(49.9% 0.131 128.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #504DCA

    #504DCA

    oklch(49.9% 0.188 278.2)

  • #AB3400

    #AB3400

    oklch(49.9% 0.163 38.1)

  • #007649

    #007649

    oklch(49.9% 0.116 158.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #504DCA

    #504DCA

    oklch(49.9% 0.188 278.2)

  • #B3164E

    #B3164E

    oklch(49.9% 0.188 8.1)

  • #736300

    #736300

    oklch(50% 0.103 98.1)

  • #00726C

    #00726C

    oklch(49.8% 0.086 188.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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