#505AD0

Closest named color: Warm Blue (#4B57DB). oklch(52.7% 0.18 274.7), rgb(80, 90, 208).

Aa

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

About this color

#505AD0 is a medium-dark, vivid blue. In OKLCH its lightness is 53%, its chroma 0.180 and its hue 275°. Its hue sits on the cool side of the wheel. The nearest named color is Warm Blue (#4B57DB), ΔE 0.020 away. White text reads best on it, at 5.65:1.

Hue familyBlues
Lightnessmedium-dark (53%)
Chromavivid (0.180)
Temperaturecool
Nearest nameWarm Blue (#4B57DB)
Black text3.71:1
White text5.65:1

Values

HEX#505AD0
RGBrgb(80, 90, 208)
HSLhsl(235, 58%, 56%)
OKLCHoklch(52.7% 0.18 274.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 #505AD0 5.65:1 AA Lc -83.2 Fine for body text
Black text on #505AD0 3.71:1 AA large text Lc 26.2 Dividers and decoration only
#505AD0 text on white 5.65:1 AA Lc 77.9 Fine for body text
#505AD0 text on black 3.71:1 AA large text Lc -23.9 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 600.

  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

    #D0D8F8

    oklch(88.6% 0.045 274.4)

  4. Step 300

    300

    #B1BDF5

    oklch(80.9% 0.08 275.1)

  5. Step 400

    400

    #8999F1

    oklch(70.7% 0.13 274.8)

  6. Step 500

    500

    #6E7DEC

    oklch(63.1% 0.166 274.8)

  7. Step 600

    600 (this color)

    #505AD0

    oklch(52.7% 0.18 274.7)

  8. Step 700

    700

    #4851BD

    oklch(49% 0.168 274.8)

  9. Step 800

    800

    #3B4399

    oklch(42.6% 0.139 274.9)

  10. Step 900

    900

    #323A7A

    oklch(37.8% 0.108 274.7)

  11. Step 950

    950

    #1D2247

    oklch(26.9% 0.068 275)

Export this scale for Tailwind in the Tailwind colors tool

#505AD0 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)#006DD40.064
Deuteranopia (no green cones)#0062CE0.057
Tritanopia (no blue cones)#00768C0.153
Achromatopsia (no color)#6767670.180

Harmonies

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

Complementary

The opposite hue (180°).

  • #505AD0

    #505AD0

    oklch(52.7% 0.18 274.7)

  • #7F6900

    #7F6900

    oklch(52.7% 0.108 94.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #505AD0

    #505AD0

    oklch(52.7% 0.18 274.7)

  • #0070B1

    #0070B1

    oklch(52.6% 0.132 244.8)

  • #8347BC

    #8347BC

    oklch(52.7% 0.179 304.6)

Open the analogous palette in the generator

Split complementary

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

  • #505AD0

    #505AD0

    oklch(52.7% 0.18 274.7)

  • #995A00

    #995A00

    oklch(52.8% 0.119 64.8)

  • #5A7700

    #5A7700

    oklch(52.7% 0.132 124.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #505AD0

    #505AD0

    oklch(52.7% 0.18 274.7)

  • #BC320B

    #BC320B

    oklch(52.7% 0.18 34.6)

  • #008047

    #008047

    oklch(52.7% 0.131 154.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #505AD0

    #505AD0

    oklch(52.7% 0.18 274.7)

  • #B82B5D

    #B82B5D

    oklch(52.6% 0.179 4.8)

  • #7F6900

    #7F6900

    oklch(52.7% 0.108 94.5)

  • #007C72

    #007C72

    oklch(52.7% 0.093 185)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #505AD0 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.