#504ECB

Closest named color: Warm Blue (#4B57DB). oklch(50.1% 0.188 277.9), rgb(80, 78, 203).

Aa

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

About this color

#504ECB 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.032 away. White text reads best on it, at 6.37:1.

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

Values

HEX#504ECB
RGBrgb(80, 78, 203)
HSLhsl(241, 55%, 55%)
OKLCHoklch(50.1% 0.188 277.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 #504ECB 6.37:1 AA Lc -86.3 Fine for body text
Black text on #504ECB 3.29:1 AA large text Lc 22.8 Dividers and decoration only
#504ECB text on white 6.37:1 AA Lc 81.2 Fine for body text
#504ECB text on black 3.29:1 AA large text Lc -20.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

    #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

    #B2BBFB

    oklch(80.8% 0.091 278)

  5. Step 400

    400

    #8C96FA

    oklch(70.8% 0.146 277.7)

  6. Step 500

    500

    #7278F7

    oklch(63.2% 0.186 277.6)

  7. Step 600

    600

    #5D5CE6

    oklch(55.6% 0.203 277.8)

  8. Step 700

    700 (this color)

    #504ECB

    oklch(50.1% 0.188 277.9)

  9. Step 800

    800

    #3F3EA1

    oklch(42.6% 0.156 277.9)

  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

#504ECB 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)#0064CF0.071
Deuteranopia (no green cones)#005AC90.063
Tritanopia (no blue cones)#006D850.160
Achromatopsia (no color)#5F5F5F0.189

Harmonies

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

Complementary

The opposite hue (180°).

  • #504ECB

    #504ECB

    oklch(50.1% 0.188 277.9)

  • #746300

    #746300

    oklch(50.1% 0.103 97.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #504ECB

    #504ECB

    oklch(50.1% 0.188 277.9)

  • #0067AC

    #0067AC

    oklch(50.2% 0.135 248)

  • #8139B4

    #8139B4

    oklch(50.1% 0.189 307.8)

Open the analogous palette in the generator

Split complementary

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

  • #504ECB

    #504ECB

    oklch(50.1% 0.188 277.9)

  • #8C5500

    #8C5500

    oklch(50.1% 0.11 67.5)

  • #4E7100

    #4E7100

    oklch(50.3% 0.131 127.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #504ECB

    #504ECB

    oklch(50.1% 0.188 277.9)

  • #AD3400

    #AD3400

    oklch(50.2% 0.165 37.9)

  • #007749

    #007749

    oklch(50.1% 0.117 158.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #504ECB

    #504ECB

    oklch(50.1% 0.188 277.9)

  • #B4174F

    #B4174F

    oklch(50.2% 0.189 8)

  • #746300

    #746300

    oklch(50.1% 0.103 97.4)

  • #00736D

    #00736D

    oklch(50.1% 0.087 188.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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